Ali Abdullah commited on
Commit
c6e9026
·
verified ·
1 Parent(s): ab0d376

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -12,10 +12,10 @@ def sanitize(text):
12
  return text
13
 
14
  # API endpoints (your FastAPI runs in main.py separately)
15
- FILE_API_URL = "http://127.0.0.1:8000/chat-with-file"
16
- URL_API_URL = "http://127.0.0.1:8000/chat-with-url"
17
- IMAGE_API_URL = "http://127.0.0.1:8000/extract-text-from-image"
18
- AUDIO_API_URL = "http://127.0.0.1:8000/transcribe-audio"
19
 
20
  chat_sessions = {"file": [], "url": []}
21
 
 
12
  return text
13
 
14
  # API endpoints (your FastAPI runs in main.py separately)
15
+ FILE_API_URL = "/chat-with-file"
16
+ URL_API_URL = "/chat-with-url"
17
+ IMAGE_API_URL = "/extract-text-from-image"
18
+ AUDIO_API_URL = "/transcribe-audio"
19
 
20
  chat_sessions = {"file": [], "url": []}
21