RafaG commited on
Commit
52b7b7a
·
verified ·
1 Parent(s): 449ec50

Update webui/app.py

Browse files
Files changed (1) hide show
  1. webui/app.py +2 -2
webui/app.py CHANGED
@@ -407,9 +407,9 @@ with gr.Blocks(title=i18n("ViralCutter WebUI"), theme=gr.themes.Default(primary_
407
 
408
  def on_source_change(source):
409
  if source == "YouTube URL":
410
- return gr.update(visible=False), gr.update(visible=False), gr.update(visible=True), gr.update(value="Full")
411
  elif source == "Upload Video":
412
- return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(value="Full")
413
  else:
414
  # Load projects
415
  projs = library.get_existing_projects()
 
407
 
408
  def on_source_change(source):
409
  if source == "YouTube URL":
410
+ return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(value="Full")
411
  elif source == "Upload Video":
412
+ return gr.update(visible=False), gr.update(visible=False), gr.update(visible=True), gr.update(value="Full")
413
  else:
414
  # Load projects
415
  projs = library.get_existing_projects()