multimodalart HF staff commited on
Commit
ca33a23
1 Parent(s): e4e4cf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from scripts.inference import inference_process
7
  import argparse
8
  import uuid
9
 
10
- is_shared_ui = True if "multimodalart/hallo" in os.environ['SPACE_ID'] else False
11
 
12
  if(not is_shared_ui):
13
  hallo_dir = snapshot_download(repo_id="fudan-generative-ai/hallo", local_dir="pretrained_models")
 
7
  import argparse
8
  import uuid
9
 
10
+ is_shared_ui = True if "fudan-generative-ai/hallo" in os.environ['SPACE_ID'] else False
11
 
12
  if(not is_shared_ui):
13
  hallo_dir = snapshot_download(repo_id="fudan-generative-ai/hallo", local_dir="pretrained_models")