Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,13 +99,10 @@ def inference(audio, state=""):
|
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
-
tempStr = str(infers)
|
| 103 |
-
infer = tempStr.split(",")
|
| 104 |
-
print("Infer type is: ", type(infer))
|
| 105 |
|
| 106 |
# result.text
|
| 107 |
#return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
| 108 |
-
return result.text, state,
|
| 109 |
|
| 110 |
|
| 111 |
|
|
|
|
| 99 |
|
| 100 |
|
| 101 |
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
# result.text
|
| 104 |
#return getText, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
| 105 |
+
return result.text, state, infers
|
| 106 |
|
| 107 |
|
| 108 |
|