Yingxu He commited on
Commit
e14b97a
1 Parent(s): 51a7d0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -39,9 +39,7 @@ def respond(
39
  progress(0, desc="Starting")
40
 
41
  if get_status() != "running":
42
- endpoint.client.post(json={
43
- "inputs": "wake up!"
44
- })
45
  progress(0.25, desc="Waking up model")
46
 
47
  while get_status() != "running":
 
39
  progress(0, desc="Starting")
40
 
41
  if get_status() != "running":
42
+ query({"inputs": "wake up!"})
 
 
43
  progress(0.25, desc="Waking up model")
44
 
45
  while get_status() != "running":