Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,10 @@ def inference(audio, prompt, model, temperature, latest):
|
|
90 |
op1 = infersNew[0][0]
|
91 |
op2 = infersNew[1][0]
|
92 |
op3 = infersNew[2][0]
|
93 |
-
|
|
|
|
|
|
|
94 |
try:
|
95 |
op5 = infersNew[4][0]
|
96 |
except KeyError:
|
|
|
90 |
op1 = infersNew[0][0]
|
91 |
op2 = infersNew[1][0]
|
92 |
op3 = infersNew[2][0]
|
93 |
+
try:
|
94 |
+
op4 = infersNew[3][0]
|
95 |
+
except KeyError:
|
96 |
+
op4 = infersNew[0][1]
|
97 |
try:
|
98 |
op5 = infersNew[4][0]
|
99 |
except KeyError:
|