Spaces:
Runtime error
Runtime error
ThirdIringan
commited on
Commit
•
bd125dc
1
Parent(s):
e359fe1
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def asr(speech):
|
|
28 |
equation += text
|
29 |
|
30 |
ans = round(eval(equation),2)
|
31 |
-
speech = "
|
32 |
except:
|
33 |
transcript = "Error in Translation/Format of Audio"
|
34 |
equation = "Error in Translation/Format of Audio"
|
|
|
28 |
equation += text
|
29 |
|
30 |
ans = round(eval(equation),2)
|
31 |
+
speech = transcript + " is equal to "+str(ans)
|
32 |
except:
|
33 |
transcript = "Error in Translation/Format of Audio"
|
34 |
equation = "Error in Translation/Format of Audio"
|