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