Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,8 +18,8 @@ config = {
|
|
| 18 |
"temperature": 0
|
| 19 |
}
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
|
| 24 |
def invoke(openai_api_key, prompt, agent_option):
|
| 25 |
if (openai_api_key == ""):
|
|
|
|
| 18 |
"temperature": 0
|
| 19 |
}
|
| 20 |
|
| 21 |
+
logging.basicConfig(stream = sys.stdout, level = logging.DEBUG)
|
| 22 |
+
logging.getLogger().addHandler(logging.StreamHandler(stream = sys.stdout))
|
| 23 |
|
| 24 |
def invoke(openai_api_key, prompt, agent_option):
|
| 25 |
if (openai_api_key == ""):
|