Spaces:
Sleeping
Sleeping
Commit ·
3955727
1
Parent(s): 88da3f4
requirmeents update
Browse files
README.md
CHANGED
|
@@ -5,6 +5,7 @@ colorFrom: indigo
|
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.9.1
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 5 |
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.9.1
|
| 8 |
+
python_version: 3.11.9
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
---
|
app.py
CHANGED
|
@@ -8,9 +8,10 @@ This is a demo, not production: state is per-session, work is capped at 5
|
|
| 8 |
images per run, and requests are serialized through Gradio's queue so a shared
|
| 9 |
free Space degrades into a wait rather than a flurry of 429s.
|
| 10 |
"""
|
| 11 |
-
|
| 12 |
-
import os
|
| 13 |
import sys
|
|
|
|
|
|
|
|
|
|
| 14 |
import tempfile
|
| 15 |
import zipfile
|
| 16 |
from pathlib import Path
|
|
|
|
| 8 |
images per run, and requests are serialized through Gradio's queue so a shared
|
| 9 |
free Space degrades into a wait rather than a flurry of 429s.
|
| 10 |
"""
|
|
|
|
|
|
|
| 11 |
import sys
|
| 12 |
+
print("!!! APP IS STARTING !!!", file=sys.stderr)
|
| 13 |
+
sys.stderr.flush()
|
| 14 |
+
import os
|
| 15 |
import tempfile
|
| 16 |
import zipfile
|
| 17 |
from pathlib import Path
|