Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,14 +101,17 @@ demo = gr.Blocks()
|
|
| 101 |
|
| 102 |
with demo:
|
| 103 |
with gr.Row():
|
| 104 |
-
gr.
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
| 108 |
<h1 style="font-size: 3em;">NB-Whisper Demo</h1>
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
mf_transcribe = gr.Interface(
|
| 113 |
fn=transcribe,
|
| 114 |
inputs=[
|
|
|
|
| 101 |
|
| 102 |
with demo:
|
| 103 |
with gr.Row():
|
| 104 |
+
with gr.Column(scale=1, min_width=120):
|
| 105 |
+
# Use Gradio's Image component to load the logo
|
| 106 |
+
logo = gr.Image(value=logo_path, interactive=False, show_label=False, width=100) # Adjust width as needed
|
| 107 |
+
with gr.Column(scale=8):
|
| 108 |
+
# Use Markdown for title and description
|
| 109 |
+
gr.Markdown(
|
| 110 |
+
"""
|
| 111 |
<h1 style="font-size: 3em;">NB-Whisper Demo</h1>
|
| 112 |
+
"""
|
| 113 |
+
)
|
| 114 |
+
|
| 115 |
mf_transcribe = gr.Interface(
|
| 116 |
fn=transcribe,
|
| 117 |
inputs=[
|