Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,7 @@ GITHUB_USERNAME = "japernwara-rgb" # UPDATE THIS WITH YOUR USERNAME
|
|
| 20 |
API_URL = "https://corvo-ai-gpt-5-4.hf.space/chat"
|
| 21 |
CLOUDINARY_URL = "https://api.cloudinary.com/v1_1/dwsoob1wh/image/upload"
|
| 22 |
CLOUDINARY_PRESET = "Cloud-storage"
|
| 23 |
-
|
| 24 |
-
# Explanation and description of visual elements here in arabic make it short about 3 to 5 lines
|
| 25 |
# Retry configuration
|
| 26 |
MAX_RETRIES = 10 # Maximum number of retry attempts
|
| 27 |
RETRY_DELAY = 3 # Seconds to wait between retries
|
|
@@ -159,7 +158,8 @@ Format your response EXACTLY like this:
|
|
| 159 |
|
| 160 |
------------TEXT EXTRACTED------------
|
| 161 |
[All extracted text here]
|
| 162 |
-
|
|
|
|
| 163 |
"""
|
| 164 |
|
| 165 |
}
|
|
|
|
| 20 |
API_URL = "https://corvo-ai-gpt-5-4.hf.space/chat"
|
| 21 |
CLOUDINARY_URL = "https://api.cloudinary.com/v1_1/dwsoob1wh/image/upload"
|
| 22 |
CLOUDINARY_PRESET = "Cloud-storage"
|
| 23 |
+
|
|
|
|
| 24 |
# Retry configuration
|
| 25 |
MAX_RETRIES = 10 # Maximum number of retry attempts
|
| 26 |
RETRY_DELAY = 3 # Seconds to wait between retries
|
|
|
|
| 158 |
|
| 159 |
------------TEXT EXTRACTED------------
|
| 160 |
[All extracted text here]
|
| 161 |
+
------------PAGE TALK ABOUT------------
|
| 162 |
+
[Explanation and description of visual elements here in arabic make it short about 3 to 5 lines]
|
| 163 |
"""
|
| 164 |
|
| 165 |
}
|