Maximofn commited on
Commit
259792d
1 Parent(s): ec6199a

Dont show auxiliary block 1

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -374,7 +374,7 @@ def reset_frontend():
374
  )
375
 
376
  def show_auxiliar_block1():
377
- return gr.Textbox(value="URL checked", visible=True)
378
 
379
  def get_youtube_thumbnail(url):
380
  yt = YouTube(url)
@@ -614,7 +614,7 @@ def subtify():
614
  gr.Markdown("<h1 style='text-align: center;'>Subtify</h1>")
615
  gr.Markdown(html_subtify_logo)
616
  with gr.Row(variant="panel"):
617
- url_textbox = gr.Textbox(placeholder="Add video URL here", label="Video URL", elem_id="video_url", scale=1, interactive=True)
618
  # paste_button = gr.Button(size="sm", icon="icons/paste.svg", value="paste", min_width="10px", scale=0)
619
  delete_button = gr.Button(size="sm", icon="icons/delete.svg", value="clear", min_width="10px", scale=0)
620
 
 
374
  )
375
 
376
  def show_auxiliar_block1():
377
+ return gr.Textbox(value="URL checked", visible=False)
378
 
379
  def get_youtube_thumbnail(url):
380
  yt = YouTube(url)
 
614
  gr.Markdown("<h1 style='text-align: center;'>Subtify</h1>")
615
  gr.Markdown(html_subtify_logo)
616
  with gr.Row(variant="panel"):
617
+ url_textbox = gr.Textbox(placeholder="Add video URL here and wait a moment", label="Video URL", elem_id="video_url", scale=1, interactive=True)
618
  # paste_button = gr.Button(size="sm", icon="icons/paste.svg", value="paste", min_width="10px", scale=0)
619
  delete_button = gr.Button(size="sm", icon="icons/delete.svg", value="clear", min_width="10px", scale=0)
620