Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
2d58eb4
1
Parent(s):
084cc25
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ def notify_webhook_with_file(user_chat_id, file_url):
|
|
132 |
response.raise_for_status()
|
133 |
logger.info(f"Webhook notification sent successfully for user {user_chat_id}. Response: {response.status_code}")
|
134 |
except requests.RequestException as e:
|
135 |
-
logger.error(f"Error sending webhook notification with file URL: {e}")
|
136 |
'''
|
137 |
def gradio_interface(prompt, resolution_key, user_chat_id):
|
138 |
if not user_chat_id.strip():
|
|
|
132 |
response.raise_for_status()
|
133 |
logger.info(f"Webhook notification sent successfully for user {user_chat_id}. Response: {response.status_code}")
|
134 |
except requests.RequestException as e:
|
135 |
+
logger.error(f"Error sending webhook notification with file URL: {e}")
|
136 |
'''
|
137 |
def gradio_interface(prompt, resolution_key, user_chat_id):
|
138 |
if not user_chat_id.strip():
|