tree3po commited on
Commit
da60df0
1 Parent(s): 9a40f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -2,7 +2,8 @@ import os
2
  import gradio as gr
3
  #import huggingface_hub
4
  #from huggingface_hub import snapshot_download
5
- import open_oasis_master as oa
 
6
  os.system("huggingface-cli login --token $HF_TOKEN --add-to-git-credential")
7
  os.system("huggingface-cli download Etched/oasis-500m oasis500m.pt --local-dir ./") # DiT checkpoint
8
  os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt --local-dir ./")
@@ -10,7 +11,7 @@ os.system("huggingface-cli download Etched/oasis-500m vit-l-20.pt --local-dir ./
10
 
11
  with gr.Blocks() as app:
12
  vid = gr.Video()
13
- app.load(oa.generate.run_mod(),None,vid)
14
  app.launch()
15
 
16
  '''os.system("git clone https://github.com/etched-ai/open-oasis.git")
 
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 ./")
 
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")