Spaces:
Runtime error
Runtime error
Update gradio_app.py
Browse files- gradio_app.py +15 -0
gradio_app.py
CHANGED
@@ -1,3 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
import torch
|
|
|
1 |
+
'''
|
2 |
+
sudo apt-get update && sudo apt-get install git-lfs ffmpeg cbm
|
3 |
+
|
4 |
+
conda create --name py310 python=3.10
|
5 |
+
conda activate py310
|
6 |
+
pip install ipykernel
|
7 |
+
python -m ipykernel install --user --name py310 --display-name "py310"
|
8 |
+
|
9 |
+
git clone https://huggingface.co/spaces/svjack/MakeAnything && cd MakeAnything
|
10 |
+
pip install -r requirements.txt
|
11 |
+
pip install spaces gradio huggingface_hub
|
12 |
+
|
13 |
+
python gradio_app.py
|
14 |
+
'''
|
15 |
+
|
16 |
import spaces
|
17 |
import gradio as gr
|
18 |
import torch
|