Serhan Yılmaz
commited on
Commit
·
696be0a
1
Parent(s):
8dbc6b8
fix?
Browse files
pas2.py
CHANGED
|
@@ -1469,6 +1469,8 @@ if __name__ == "__main__":
|
|
| 1469 |
interface = create_interface()
|
| 1470 |
logger.info("Launching Gradio interface...")
|
| 1471 |
interface.launch(
|
|
|
|
|
|
|
| 1472 |
show_api=False,
|
| 1473 |
quiet=True, # Changed to True for Hugging Face deployment
|
| 1474 |
share=False,
|
|
|
|
| 1469 |
interface = create_interface()
|
| 1470 |
logger.info("Launching Gradio interface...")
|
| 1471 |
interface.launch(
|
| 1472 |
+
server_name="0.0.0.0", # Bind to all interfaces
|
| 1473 |
+
server_port=7860, # Default Hugging Face Spaces port
|
| 1474 |
show_api=False,
|
| 1475 |
quiet=True, # Changed to True for Hugging Face deployment
|
| 1476 |
share=False,
|