Yanqing0327 commited on
Commit
19644d2
·
verified ·
1 Parent(s): fe5d0d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import requests
3
 
4
  # Your ngrok URL (ensure it is correct)
5
- API_URL = "https://ac1a-169-233-7-11.ngrok-free.app/predict/"
6
 
7
  def chat(image, text):
8
  """Call the local LLaVA server API"""
@@ -31,4 +31,4 @@ iface = gr.Interface(
31
  )
32
 
33
  # Launch Gradio
34
- iface.launch(server_name="0.0.0.0", server_port=7860)
 
2
  import requests
3
 
4
  # Your ngrok URL (ensure it is correct)
5
+ API_URL = "https://36b83bc0ff0b.ngrok-free.app/predict/"
6
 
7
  def chat(image, text):
8
  """Call the local LLaVA server API"""
 
31
  )
32
 
33
  # Launch Gradio
34
+ iface.launch(server_name="0.0.0.0", server_port=7861)