DeepLearning101 commited on
Commit
d355db6
·
verified ·
1 Parent(s): ebeb106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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):