xiaoyao9184 commited on
Commit
ef92887
·
verified ·
1 Parent(s): 964be99

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -32,6 +32,10 @@ def install_model():
32
  install_src()
33
  install_model()
34
 
 
 
 
 
35
  # run gradio
36
  import re
37
  import sys
 
32
  install_src()
33
  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
41
  import sys