Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ def inference(audio, state=""):
|
|
| 85 |
infers = []
|
| 86 |
for i in range(5):
|
| 87 |
print("print1 ", response['choices'][i]['text'])
|
| 88 |
-
|
| 89 |
print("print2: infers ", infers)
|
| 90 |
print("print3: Responses ", response)
|
| 91 |
print("Object type of response: ", type(response))
|
|
|
|
| 85 |
infers = []
|
| 86 |
for i in range(5):
|
| 87 |
print("print1 ", response['choices'][i]['text'])
|
| 88 |
+
infers.append(response['choices'][i]['text'])
|
| 89 |
print("print2: infers ", infers)
|
| 90 |
print("print3: Responses ", response)
|
| 91 |
print("Object type of response: ", type(response))
|