Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def get_response_from_chatgpt(text):
|
|
14 |
response_str = response_str.split(user_name + ": ", 1)[0].split(bot_name + ": ", 1)[0]
|
15 |
print("RESPONSE STRING", response_str)
|
16 |
response = response_str
|
17 |
-
logger.info(f"Response: [{response_api]")
|
18 |
logger.info(f"conversation_id_: [{response}]")
|
19 |
except:
|
20 |
response = "I'm so tired. Let me lie down for a few days."
|
|
|
14 |
response_str = response_str.split(user_name + ": ", 1)[0].split(bot_name + ": ", 1)[0]
|
15 |
print("RESPONSE STRING", response_str)
|
16 |
response = response_str
|
17 |
+
logger.info(f"Response: [{response_api}]")
|
18 |
logger.info(f"conversation_id_: [{response}]")
|
19 |
except:
|
20 |
response = "I'm so tired. Let me lie down for a few days."
|