Update app.py
Browse files
app.py
CHANGED
|
@@ -57,6 +57,8 @@ async def send_chat_message(LLM_URL, LLM_API, category, file_id):
|
|
| 57 |
except Exception as e:
|
| 58 |
return f"Error: Unexpected exception - {e}"
|
| 59 |
|
|
|
|
|
|
|
| 60 |
async def upload_file(LLM_URL, LLM_API, file_path, user_id):
|
| 61 |
if not os.path.exists(file_path):
|
| 62 |
return f"Error: File {file_path} not found"
|
|
|
|
| 57 |
except Exception as e:
|
| 58 |
return f"Error: Unexpected exception - {e}"
|
| 59 |
|
| 60 |
+
print("LLM_API:", LLM_API)
|
| 61 |
+
|
| 62 |
async def upload_file(LLM_URL, LLM_API, file_path, user_id):
|
| 63 |
if not os.path.exists(file_path):
|
| 64 |
return f"Error: File {file_path} not found"
|