tree3po commited on
Commit
add185e
1 Parent(s): b2615f7

Update app.py

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