Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,8 +73,12 @@ def inference(audio, state=""):
|
|
| 73 |
temperature=1,
|
| 74 |
max_tokens=4,
|
| 75 |
n=4)
|
|
|
|
| 76 |
for i in range(4):
|
| 77 |
print(response['choices'][i]['text'])
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
# result.text
|
|
|
|
| 73 |
temperature=1,
|
| 74 |
max_tokens=4,
|
| 75 |
n=4)
|
| 76 |
+
infers =[]
|
| 77 |
for i in range(4):
|
| 78 |
print(response['choices'][i]['text'])
|
| 79 |
+
infers += (response['choices'][i]['text'])
|
| 80 |
+
print("infers", infers)
|
| 81 |
+
print("Responses ", response)
|
| 82 |
|
| 83 |
|
| 84 |
# result.text
|