fffiloni commited on
Commit
caf7b05
1 Parent(s): 89285d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -74,12 +74,7 @@ def infer(audio_file):
74
  api_name="/chat"
75
  )
76
 
77
- # will return a list of outputs, one for each iteration
78
- while not result.done():
79
- continue
80
 
81
- # will return a list of outputs, one for each iteration.
82
- # so get the last one
83
  final_res = result.outputs()[-1]
84
 
85
  print(final_res)
 
74
  api_name="/chat"
75
  )
76
 
 
 
 
77
 
 
 
78
  final_res = result.outputs()[-1]
79
 
80
  print(final_res)