tree3po commited on
Commit
fbe69f5
1 Parent(s): 7b282e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 ./open_oasis_master/generate.py")
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()