Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -336,12 +336,10 @@ def process_audio(audio_file, google_api_key_input, assemblyai_api_key_input):
|
|
| 336 |
# Create the Gradio interface
|
| 337 |
with gr.Blocks(title="Transcript Enhancer") as demo:
|
| 338 |
gr.Markdown("""
|
| 339 |
-
# 🎙️ Gemini
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
1. The original transcript is generated using AssemblyAI with speaker detection
|
| 344 |
-
2. The enhanced version uses Google's Gemini to improve clarity and readability
|
| 345 |
""")
|
| 346 |
|
| 347 |
with gr.Row():
|
|
@@ -373,7 +371,7 @@ with gr.Blocks(title="Transcript Enhancer") as demo:
|
|
| 373 |
|
| 374 |
with gr.Row():
|
| 375 |
with gr.Column():
|
| 376 |
-
gr.Markdown("###
|
| 377 |
original_download = gr.File(
|
| 378 |
label="Download as Markdown",
|
| 379 |
file_count="single",
|
|
|
|
| 336 |
# Create the Gradio interface
|
| 337 |
with gr.Blocks(title="Transcript Enhancer") as demo:
|
| 338 |
gr.Markdown("""
|
| 339 |
+
# 🎙️ Gemini Transcriber
|
| 340 |
+
|
| 341 |
+
1. A first draft transcript is generated using AssemblyAI.
|
| 342 |
+
2. A much higher quality transcript is generated using Gemini 2.5 Pro to improve readability.
|
|
|
|
|
|
|
| 343 |
""")
|
| 344 |
|
| 345 |
with gr.Row():
|
|
|
|
| 371 |
|
| 372 |
with gr.Row():
|
| 373 |
with gr.Column():
|
| 374 |
+
gr.Markdown("### Initial Transcript")
|
| 375 |
original_download = gr.File(
|
| 376 |
label="Download as Markdown",
|
| 377 |
file_count="single",
|