titipata commited on
Commit
13d6edc
1 Parent(s): d3e04f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -76,10 +76,8 @@ def yt_transcribe(yt_url):
76
 
77
 
78
  with gr.Blocks() as demo:
79
- with gr.Row(elem_id="banner"):
80
- gr.Image(value="thonburian-whisper-logo.png", show_label=False, container=False, width=400)
81
-
82
- gr.Markdown("# Thonburian Whisper Demo 🇹🇭", elem_id="title")
83
 
84
  with gr.Tab("Transcribe Audio"):
85
  gr.Markdown(
@@ -112,10 +110,5 @@ with gr.Blocks() as demo:
112
  yt_transcribe_btn.click(fn=yt_transcribe, inputs=yt_url_input, outputs=[yt_html_output, yt_text_output])
113
 
114
 
115
- css = """
116
- #banner {display: flex; justify-content: center; align-items: center; margin-bottom: 20px;}
117
- #title {text-align: center; margin-bottom: 30px;}
118
- """
119
-
120
  if __name__ == "__main__":
121
- demo.queue().launch(css=css)
 
76
 
77
 
78
  with gr.Blocks() as demo:
79
+ gr.Image(value="thonburian-whisper-logo.png", show_label=False, container=False, width=400)
80
+ gr.Markdown("# Thonburian Whisper Demo 🇹🇭")
 
 
81
 
82
  with gr.Tab("Transcribe Audio"):
83
  gr.Markdown(
 
110
  yt_transcribe_btn.click(fn=yt_transcribe, inputs=yt_url_input, outputs=[yt_html_output, yt_text_output])
111
 
112
 
 
 
 
 
 
113
  if __name__ == "__main__":
114
+ demo.queue().launch()