Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,12 @@ import os
|
|
2 |
import gradio as gr
|
3 |
#import huggingface_hub
|
4 |
#from huggingface_hub import snapshot_download
|
5 |
-
import open_oasis_master
|
6 |
-
from open_oasis_master import generate
|
7 |
os.system("huggingface-cli login --token $HF_TOKEN --add-to-git-credential")
|
8 |
os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt --local-dir ./") # DiT checkpoint
|
9 |
os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt --local-dir ./")
|
10 |
-
os.system("python
|
11 |
|
12 |
'''with gr.Blocks() as app:
|
13 |
vid = gr.Video()
|
|
|
2 |
import gradio as gr
|
3 |
#import huggingface_hub
|
4 |
#from huggingface_hub import snapshot_download
|
5 |
+
#import open_oasis_master
|
6 |
+
#from open_oasis_master import generate
|
7 |
os.system("huggingface-cli login --token $HF_TOKEN --add-to-git-credential")
|
8 |
os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt --local-dir ./") # DiT checkpoint
|
9 |
os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt --local-dir ./")
|
10 |
+
os.system("cd open_oasis_master && python generate.py")
|
11 |
|
12 |
'''with gr.Blocks() as app:
|
13 |
vid = gr.Video()
|