Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,6 +78,8 @@ def inference(audio, prompt, model, temperature, latest):
|
|
| 78 |
infers = list(map(lambda x: x.replace("\n", ""), temp))
|
| 79 |
#infered = list(map(lambda x: x.split(','), infers))
|
| 80 |
|
|
|
|
|
|
|
| 81 |
op1 = infers[0]
|
| 82 |
op2 = infers[1]
|
| 83 |
op3 = infers[2]
|
|
@@ -85,7 +87,7 @@ def inference(audio, prompt, model, temperature, latest):
|
|
| 85 |
op5 = infers[4]
|
| 86 |
|
| 87 |
|
| 88 |
-
print("INFERS TYPE: ", type(infers))
|
| 89 |
|
| 90 |
convoState = latest
|
| 91 |
#infersStr = str(infers)
|
|
|
|
| 78 |
infers = list(map(lambda x: x.replace("\n", ""), temp))
|
| 79 |
#infered = list(map(lambda x: x.split(','), infers))
|
| 80 |
|
| 81 |
+
res = []
|
| 82 |
+
|
| 83 |
op1 = infers[0]
|
| 84 |
op2 = infers[1]
|
| 85 |
op3 = infers[2]
|
|
|
|
| 87 |
op5 = infers[4]
|
| 88 |
|
| 89 |
|
| 90 |
+
print("INFERS TYPE: ", type(infers), "INFERS[0] type: ", infers[0])
|
| 91 |
|
| 92 |
convoState = latest
|
| 93 |
#infersStr = str(infers)
|