ldhldh commited on
Commit
38a0446
ยท
1 Parent(s): 5aca742

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ q = queue.Queue()
36
 
37
  def chat():
38
  global q
39
- if !q.empty():
40
  arr = q.get()
41
  start = time.time()
42
  result = gradio_client.predict(
 
36
 
37
  def chat():
38
  global q
39
+ if not q.empty():
40
  arr = q.get()
41
  start = time.time()
42
  result = gradio_client.predict(