saad177 commited on
Commit
5d955d6
1 Parent(s): 20f19bc

change ui style

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -25,6 +25,11 @@ def youtube_to_text(youtube_url):
25
 
26
 
27
  with gr.Blocks() as demo:
 
 
 
 
 
28
  with gr.Row():
29
  with gr.Column():
30
  radio = gr.Radio(
@@ -38,11 +43,11 @@ with gr.Blocks() as demo:
38
  youtube_input = gr.Textbox(
39
  value="https://www.youtube.com/", label="Youtube Link", visible=False
40
  )
41
- btn = gr.Button("Submit")
42
  with gr.Column():
43
  output = gr.Text(label="Model Output")
44
  chatbot = gr.Chatbot()
45
- msg = gr.Textbox()
46
 
47
  def make_visible(val):
48
  audio_visible = val == "Audio"
 
25
 
26
 
27
  with gr.Blocks() as demo:
28
+ with gr.Row():
29
+ gr.HTML(
30
+ value="<h1 style='text-align: center;'>Speech-To-Text transcription for Russian</h1>"
31
+ )
32
+
33
  with gr.Row():
34
  with gr.Column():
35
  radio = gr.Radio(
 
43
  youtube_input = gr.Textbox(
44
  value="https://www.youtube.com/", label="Youtube Link", visible=False
45
  )
46
+ btn = gr.Button("Transcript")
47
  with gr.Column():
48
  output = gr.Text(label="Model Output")
49
  chatbot = gr.Chatbot()
50
+ msg = gr.Textbox(label="Ask a question!")
51
 
52
  def make_visible(val):
53
  audio_visible = val == "Audio"