Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,9 @@ def inference(audio, prompt, model, temperature, latest):
|
|
91 |
op2 = infersNew[1][0]
|
92 |
op3 = infersNew[2][0]
|
93 |
op4 = infersNew[3][0]
|
94 |
-
|
|
|
|
|
95 |
|
96 |
|
97 |
print("INFERS TYPE: ", type(infers), "INFERS ", infers)
|
|
|
91 |
op2 = infersNew[1][0]
|
92 |
op3 = infersNew[2][0]
|
93 |
op4 = infersNew[3][0]
|
94 |
+
if infersNew[4][0] != None:
|
95 |
+
op5 = infersNew[4][0]
|
96 |
+
else: op5 = infersNew[1][1]
|
97 |
|
98 |
|
99 |
print("INFERS TYPE: ", type(infers), "INFERS ", infers)
|