AricGamma commited on
Commit
0f1045d
1 Parent(s): 23a0ba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,8 +7,7 @@ from scripts.inference import inference_process
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
- is_shared_ui = False
12
 
13
  if(not is_shared_ui):
14
  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")