yhraje commited on
Commit
68a23df
Β·
verified Β·
1 Parent(s): 923c6b8

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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)