Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ model_loading = False
|
|
| 50 |
|
| 51 |
# Configuration for processing
|
| 52 |
TIMEOUT_SECONDS = 240 # 4 minutes max for processing (increased for larger model)
|
| 53 |
-
MAX_DIMENSION = 512 # Max image dimension to
|
| 54 |
|
| 55 |
# TimeoutError for handling timeouts
|
| 56 |
class TimeoutError(Exception):
|
|
|
|
| 50 |
|
| 51 |
# Configuration for processing
|
| 52 |
TIMEOUT_SECONDS = 240 # 4 minutes max for processing (increased for larger model)
|
| 53 |
+
MAX_DIMENSION = 512 # Max image dimension to processe
|
| 54 |
|
| 55 |
# TimeoutError for handling timeouts
|
| 56 |
class TimeoutError(Exception):
|