Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -358,7 +358,7 @@ def transcribe_hindi(speech):
|
|
358 |
text = text.replace(hindi, num)
|
359 |
|
360 |
# Split the string into parts separated by spaces
|
361 |
-
parts =
|
362 |
|
363 |
# Initialize an empty list to store the processed parts
|
364 |
processed_parts = []
|
@@ -379,7 +379,6 @@ def transcribe_hindi(speech):
|
|
379 |
# Join the processed parts back into a string with spaces
|
380 |
text = ' '.join(processed_parts)
|
381 |
|
382 |
-
|
383 |
return text
|
384 |
|
385 |
###########################################################
|
|
|
358 |
text = text.replace(hindi, num)
|
359 |
|
360 |
# Split the string into parts separated by spaces
|
361 |
+
parts = text.split(' ')
|
362 |
|
363 |
# Initialize an empty list to store the processed parts
|
364 |
processed_parts = []
|
|
|
379 |
# Join the processed parts back into a string with spaces
|
380 |
text = ' '.join(processed_parts)
|
381 |
|
|
|
382 |
return text
|
383 |
|
384 |
###########################################################
|