Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,9 @@ import gradio as gr
|
|
| 21 |
from gradio_client import Client, handle_file
|
| 22 |
import tempfile
|
| 23 |
from typing import Optional, Tuple, Any
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
# --- Model Loading ---
|
|
|
|
| 21 |
from gradio_client import Client, handle_file
|
| 22 |
import tempfile
|
| 23 |
from typing import Optional, Tuple, Any
|
| 24 |
+
import subprocess
|
| 25 |
+
|
| 26 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "spaces==0.44.0"])
|
| 27 |
|
| 28 |
|
| 29 |
# --- Model Loading ---
|