seawolf2357 commited on
Commit
b8bf7a7
·
verified ·
1 Parent(s): ef53dcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def predict(request: gr.Request, *args, progress=gr.Progress(track_tqdm=True)):
71
  payload["input"][key] = value
72
 
73
  time.sleep(0.4)
74
- response = requests.post("http://0.0.0.0:5000/predictions", headers=headers, json=payload)
75
 
76
 
77
  if response.status_code == 201:
 
71
  payload["input"][key] = value
72
 
73
  time.sleep(0.4)
74
+ response = requests.post("http://0.0.0.0:8000/predictions", headers=headers, json=payload)
75
 
76
 
77
  if response.status_code == 201: