Spaces:
Runtime error
Runtime error
Commit ·
33fa1df
1
Parent(s): ef25f05
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,9 +143,6 @@ def get_text_from_mp3_whisper(inputType:str, mp3_file: str, url_path: str, taskN
|
|
| 143 |
output_file = "temp.mp4"
|
| 144 |
# return temp.mp4
|
| 145 |
|
| 146 |
-
# get output_video as mp4
|
| 147 |
-
with open(output_file, "rb") as f:
|
| 148 |
-
return result.get("segments"), words , f.read()
|
| 149 |
return result.get("segments"), words, "temp.mp4"
|
| 150 |
|
| 151 |
gr.Interface(
|
|
|
|
| 143 |
output_file = "temp.mp4"
|
| 144 |
# return temp.mp4
|
| 145 |
|
|
|
|
|
|
|
|
|
|
| 146 |
return result.get("segments"), words, "temp.mp4"
|
| 147 |
|
| 148 |
gr.Interface(
|