Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -78,4 +78,4 @@ with gr.Blocks() as app:
|
|
| 78 |
textbox.submit(send_message, [textbox, chatbot], [chatbot]) # Enterでも送信
|
| 79 |
|
| 80 |
if __name__ == "__main__":
|
| 81 |
-
app.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 78 |
textbox.submit(send_message, [textbox, chatbot], [chatbot]) # Enterでも送信
|
| 79 |
|
| 80 |
if __name__ == "__main__":
|
| 81 |
+
app.launch(server_name="0.0.0.0", server_port=int(os.getenv("PORT", "7860")))
|