Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,7 @@ async def send_chat_message(LLM_URL, LLM_API, category, file_id):
|
|
| 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):
|
|
|
|
| 58 |
return f"Error: Unexpected exception - {e}"
|
| 59 |
|
| 60 |
print("LLM_API:", LLM_API)
|
| 61 |
+
print("Headers:", {"Authorization": f"Bearer {LLM_API}"})
|
| 62 |
|
| 63 |
async def upload_file(LLM_URL, LLM_API, file_path, user_id):
|
| 64 |
if not os.path.exists(file_path):
|