Spaces:
Runtime error
Runtime error
Synced repo using 'sync_with_huggingface' Github Action
Browse files
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 |
-
|
| 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 |
+
os.environ["APP_PATH"] = os.path.abspath(LOCAL_PATH)
|
| 38 |
|
| 39 |
# run gradio
|
| 40 |
import re
|