Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio, state="", uploaded_audio=None):
|
|
13 |
try:
|
14 |
time.sleep(3)
|
15 |
text = p(audio)["text"]
|
16 |
-
state += text + " "
|
17 |
return state, state
|
18 |
except Exception as e:
|
19 |
return "An error occurred during transcription.", state # Handle other exceptions
|
|
|
13 |
try:
|
14 |
time.sleep(3)
|
15 |
text = p(audio)["text"]
|
16 |
+
state += text + " - "
|
17 |
return state, state
|
18 |
except Exception as e:
|
19 |
return "An error occurred during transcription.", state # Handle other exceptions
|