Spaces:
Running
Running
hackhack
Browse files- app.py +4 -0
- install.sh +4 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import gradio.utils
|
3 |
|
|
|
1 |
+
import subprocess
|
2 |
+
|
3 |
+
subprocess.call("bash install.sh")
|
4 |
+
|
5 |
import gradio as gr
|
6 |
import gradio.utils
|
7 |
|
install.sh
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# To install gradio from branch at runtime (only requires a Space restart, not a factory reboot)
|
2 |
+
git clone https://github.com/Wauplin/gradio.git
|
3 |
+
cd gradio
|
4 |
+
bash scripts/install_gradio.sh
|
requirements.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
# Install from Gradio PR https://github.com/gradio-app/gradio/pull/4943
|
2 |
# https://gradio-builds.s3.amazonaws.com/b4a147a69b39b82e2908e3513ae77fd92c98fba3/gradio-3.36.1-py3-none-any.whl
|
3 |
-
https://gradio-builds.s3.amazonaws.com/181c6721b6c57eb533d4c8e781aeda75917f63b8/gradio-3.37.0-py3-none-any.whl
|
|
|
1 |
# Install from Gradio PR https://github.com/gradio-app/gradio/pull/4943
|
2 |
# https://gradio-builds.s3.amazonaws.com/b4a147a69b39b82e2908e3513ae77fd92c98fba3/gradio-3.36.1-py3-none-any.whl
|
3 |
+
# https://gradio-builds.s3.amazonaws.com/181c6721b6c57eb533d4c8e781aeda75917f63b8/gradio-3.37.0-py3-none-any.whl
|