Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ os.environ["PYTHONPATH"] = local_dir
|
|
| 46 |
# We disable XSRF and CORS protection which often cause the 500 error on HF
|
| 47 |
launch_args = [
|
| 48 |
sys.executable, "-m", "streamlit", "run",
|
| 49 |
-
os.path.join(local_dir, "
|
| 50 |
"--server.port", "7860",
|
| 51 |
"--server.address", "0.0.0.0",
|
| 52 |
"--server.enableCORS", "false",
|
|
|
|
| 46 |
# We disable XSRF and CORS protection which often cause the 500 error on HF
|
| 47 |
launch_args = [
|
| 48 |
sys.executable, "-m", "streamlit", "run",
|
| 49 |
+
os.path.join(local_dir, "app.py"),
|
| 50 |
"--server.port", "7860",
|
| 51 |
"--server.address", "0.0.0.0",
|
| 52 |
"--server.enableCORS", "false",
|