xiaoyao9184 commited on
Commit
52011e3
·
verified ·
1 Parent(s): ef92887

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ install_model()
34
 
35
  # fix sys.path for import
36
  print(f"LOCAL_PATH: {os.path.abspath(LOCAL_PATH)}")
37
- sys.path.append(os.path.abspath(LOCAL_PATH))
38
 
39
  # run gradio
40
  import re
 
34
 
35
  # fix sys.path for import
36
  print(f"LOCAL_PATH: {os.path.abspath(LOCAL_PATH)}")
37
+ sys.path.insert(0, os.path.abspath(LOCAL_PATH))
38
 
39
  # run gradio
40
  import re