Spaces:
Running
on
Zero
Running
on
Zero
change alignment
Browse filesSigned-off-by: monica-sekoyan <[email protected]>
app.py
CHANGED
|
@@ -316,8 +316,8 @@ nvidia_theme = gr_themes.Default(
|
|
| 316 |
# Apply the custom theme
|
| 317 |
with gr.Blocks(theme=nvidia_theme) as demo:
|
| 318 |
model_display_name = MODEL_NAME.split('/')[-1] if '/' in MODEL_NAME else MODEL_NAME
|
| 319 |
-
gr.
|
| 320 |
-
gr.
|
| 321 |
gr.HTML(article)
|
| 322 |
|
| 323 |
current_audio_path_state = gr.State(None)
|
|
@@ -350,11 +350,7 @@ with gr.Blocks(theme=nvidia_theme) as demo:
|
|
| 350 |
mic_transcribe_btn = gr.Button("Transcribe Microphone Input", variant="primary")
|
| 351 |
|
| 352 |
gr.Markdown("---")
|
| 353 |
-
gr.
|
| 354 |
-
<div style="text-align: center; font-size: 1.2em; font-weight: bold; padding: 10px; margin: 10px 0; border-top: 0px solid #ccc; border-bottom: 1px solid #ccc;">
|
| 355 |
-
Ready to dive in? Just <span style="color:orange">click</span> on the text to jump to the part you need!
|
| 356 |
-
</div>
|
| 357 |
-
""")
|
| 358 |
|
| 359 |
# Define the DownloadButton *before* the DataFrame
|
| 360 |
download_btn = gr.DownloadButton(label="Download Transcript (CSV)", visible=False)
|
|
|
|
| 316 |
# Apply the custom theme
|
| 317 |
with gr.Blocks(theme=nvidia_theme) as demo:
|
| 318 |
model_display_name = MODEL_NAME.split('/')[-1] if '/' in MODEL_NAME else MODEL_NAME
|
| 319 |
+
gr.HTML(f"<h1 style='text-align: center'>🐤 Transcribe and Translate with {model_display_name}</h1>")
|
| 320 |
+
gr.HTML("<h2 style='text-align: center'>in 25 European Languages</h2>")
|
| 321 |
gr.HTML(article)
|
| 322 |
|
| 323 |
current_audio_path_state = gr.State(None)
|
|
|
|
| 350 |
mic_transcribe_btn = gr.Button("Transcribe Microphone Input", variant="primary")
|
| 351 |
|
| 352 |
gr.Markdown("---")
|
| 353 |
+
gr.HTML("<h3 style='text-align: center'>Ready to dive in? Click on the text to jump to the part you need!</h3>")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
|
| 355 |
# Define the DownloadButton *before* the DataFrame
|
| 356 |
download_btn = gr.DownloadButton(label="Download Transcript (CSV)", visible=False)
|