Spaces:
Sleeping
Sleeping
usertea commited on
Commit ·
586b3e7
1
Parent(s): 8ae702a
EchoScript : remove typo
Browse files
app.py
CHANGED
|
@@ -39,7 +39,9 @@ def transcribe(audio_file):
|
|
| 39 |
|
| 40 |
for segment in segments:
|
| 41 |
transcript_lines.append(segment.text)
|
| 42 |
-
|
|
|
|
|
|
|
| 43 |
f"{segment.text}"
|
| 44 |
)
|
| 45 |
|
|
@@ -118,6 +120,4 @@ with gr.Blocks(title="EchoScript") as demo:
|
|
| 118 |
]
|
| 119 |
)
|
| 120 |
|
| 121 |
-
demo.launch()
|
| 122 |
-
timestamp_lines.append(
|
| 123 |
-
f"[{segment.start:.2f}s �
|
|
|
|
| 39 |
|
| 40 |
for segment in segments:
|
| 41 |
transcript_lines.append(segment.text)
|
| 42 |
+
|
| 43 |
+
timestamp_lines.append(
|
| 44 |
+
f"[{segment.start:.2f}s ? {segment.end:.2f}s] "
|
| 45 |
f"{segment.text}"
|
| 46 |
)
|
| 47 |
|
|
|
|
| 120 |
]
|
| 121 |
)
|
| 122 |
|
| 123 |
+
demo.launch()
|
|
|
|
|
|