Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -89,9 +89,7 @@ def inference(audio, state=""):
|
|
89 |
print("print2: infers ", infers)
|
90 |
print("print3: Responses ", response)
|
91 |
print("Object type of response: ", type(response))
|
92 |
-
infers =
|
93 |
-
[elm for elm in infers.split()]
|
94 |
-
)
|
95 |
|
96 |
|
97 |
|
|
|
89 |
print("print2: infers ", infers)
|
90 |
print("print3: Responses ", response)
|
91 |
print("Object type of response: ", type(response))
|
92 |
+
infers = list(map(lambda x: x.split(',')[0], infers))
|
|
|
|
|
93 |
|
94 |
|
95 |
|