Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,12 +7,12 @@ 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 |
-
|
11 |
|
12 |
-
with gr.Blocks() as app:
|
13 |
vid = gr.Video()
|
14 |
app.load(generate.run_mod(),None,vid)
|
15 |
-
app.launch()
|
16 |
|
17 |
'''os.system("git clone https://github.com/etched-ai/open-oasis.git")
|
18 |
os.system("cd open-oasis")
|
|
|
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 ./open_oasis_master/generate.py")
|
11 |
|
12 |
+
'''with gr.Blocks() as app:
|
13 |
vid = gr.Video()
|
14 |
app.load(generate.run_mod(),None,vid)
|
15 |
+
app.launch()'''
|
16 |
|
17 |
'''os.system("git clone https://github.com/etched-ai/open-oasis.git")
|
18 |
os.system("cd open-oasis")
|