Ali Abdullah
commited on
Update app.py
Browse files
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 = "
|
| 16 |
-
URL_API_URL = "
|
| 17 |
-
IMAGE_API_URL = "
|
| 18 |
-
AUDIO_API_URL = "
|
| 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 |
|