Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,9 +31,7 @@ def find_most_similar_command(statement, command_list):
|
|
| 31 |
best_match = command
|
| 32 |
reply=replies[i]
|
| 33 |
i+=1
|
| 34 |
-
|
| 35 |
-
best_match="unknown"
|
| 36 |
-
reply="آرے بھائی، کہنا کیا چاہتے ہو؟"
|
| 37 |
return best_match,reply
|
| 38 |
def transcribe_the_command(audio):
|
| 39 |
import soundfile as sf
|
|
|
|
| 31 |
best_match = command
|
| 32 |
reply=replies[i]
|
| 33 |
i+=1
|
| 34 |
+
|
|
|
|
|
|
|
| 35 |
return best_match,reply
|
| 36 |
def transcribe_the_command(audio):
|
| 37 |
import soundfile as sf
|