Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,12 @@ os.environ["API_KEY"] = 'AIzaSyB8Hj4oCbBH9arFWSgybHnbpZLs2sa4p1w'
|
|
| 11 |
os.environ["GOOGLE_API_KEY"] = 'AIzaSyBjuYTWBlHg4W2wGaQCKKbigz6deZuLUJc'
|
| 12 |
genai.configure(api_key=os.environ["API_KEY"])
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
global context
|
| 15 |
|
| 16 |
context = '''
|
|
|
|
| 11 |
os.environ["GOOGLE_API_KEY"] = 'AIzaSyBjuYTWBlHg4W2wGaQCKKbigz6deZuLUJc'
|
| 12 |
genai.configure(api_key=os.environ["API_KEY"])
|
| 13 |
|
| 14 |
+
# Optional, add tracing in LangSmith
|
| 15 |
+
|
| 16 |
+
os.environ["LANGCHAIN_API_KEY"] = "ls__92a67c6930624f93aa427f1c1ad3f59b"
|
| 17 |
+
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
| 18 |
+
os.environ["LANGCHAIN_PROJECT"] = "agenta"
|
| 19 |
+
|
| 20 |
global context
|
| 21 |
|
| 22 |
context = '''
|