Spaces:
Runtime error
Runtime error
update app.py
#1
by
yhraje - opened
app.py
CHANGED
|
@@ -1,7 +1,3 @@
|
|
| 1 |
-
pip install gradio
|
| 2 |
-
pip install pyngrok
|
| 3 |
-
pip install requests
|
| 4 |
-
|
| 5 |
import requests
|
| 6 |
import gradio as gr
|
| 7 |
|
|
@@ -51,4 +47,4 @@ with gr.Blocks() as demo:
|
|
| 51 |
msg.submit(chat, [msg, chatbot], [chatbot, msg])
|
| 52 |
|
| 53 |
# π This will show BOTH: local URL + public .gradio.live URL
|
| 54 |
-
demo.launch(server_name="127.0.0.1", server_port=7861, share=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import requests
|
| 2 |
import gradio as gr
|
| 3 |
|
|
|
|
| 47 |
msg.submit(chat, [msg, chatbot], [chatbot, msg])
|
| 48 |
|
| 49 |
# π This will show BOTH: local URL + public .gradio.live URL
|
| 50 |
+
demo.launch(server_name="http://127.0.0.1:4040", server_port=7861, share=True)
|