Spaces:
Paused
Paused
rcwaterman
commited on
Commit
•
92fba7d
1
Parent(s):
8514e24
Changing DSN for grpc
Browse files
app.py
CHANGED
@@ -21,6 +21,14 @@ import json
|
|
21 |
from langchain_core.messages import BaseMessage
|
22 |
import datetime
|
23 |
import yfinance as yf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
# GLOBAL SCOPE - ENTIRE APPLICATION HAS ACCESS TO VALUES SET IN THIS SCOPE #
|
26 |
# ---- ENV VARIABLES ---- #
|
|
|
21 |
from langchain_core.messages import BaseMessage
|
22 |
import datetime
|
23 |
import yfinance as yf
|
24 |
+
import grpc
|
25 |
+
|
26 |
+
# Configuration
|
27 |
+
server_uri = "dns:///otlp.uptrace.dev:443"
|
28 |
+
|
29 |
+
# Create a gRPC channel
|
30 |
+
channel = grpc.insecure_channel(server_uri)
|
31 |
+
|
32 |
|
33 |
# GLOBAL SCOPE - ENTIRE APPLICATION HAS ACCESS TO VALUES SET IN THIS SCOPE #
|
34 |
# ---- ENV VARIABLES ---- #
|