Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -436,11 +436,13 @@ if __name__ == "__main__":
|
|
| 436 |
print(f"Warning: Initial preprocessing test failed: {e}")
|
| 437 |
|
| 438 |
# Gradio μΈν°νμ΄μ€ μ€ν
|
|
|
|
| 439 |
demo.launch(
|
| 440 |
allowed_paths=[PERSISTENT_DIR],
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
show_error=True
|
|
|
|
| 444 |
)
|
| 445 |
|
| 446 |
except Exception as e:
|
|
|
|
| 436 |
print(f"Warning: Initial preprocessing test failed: {e}")
|
| 437 |
|
| 438 |
# Gradio μΈν°νμ΄μ€ μ€ν
|
| 439 |
+
demo.queue() # ν κΈ°λ₯ νμ±ν
|
| 440 |
demo.launch(
|
| 441 |
allowed_paths=[PERSISTENT_DIR],
|
| 442 |
+
server_name="0.0.0.0",
|
| 443 |
+
server_port=7860,
|
| 444 |
+
show_error=True,
|
| 445 |
+
share=False
|
| 446 |
)
|
| 447 |
|
| 448 |
except Exception as e:
|