Rooni commited on
Commit
370b31e
1 Parent(s): 10e3791

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,12 +63,12 @@ input_component_2=[
63
  seed_slider,
64
  upscale_dropdown,
65
  ]
66
- tabs = gr.Tab([input_component_1, input_component_2], ["Базовые настройки", "Расширенные настройки"])
67
 
68
  # Создаем интерфейс
69
  iface = gr.Interface(
70
  fn=render,
71
- inputs=[tabs],
72
  outputs=gr.Image(),
73
  )
74
 
 
63
  seed_slider,
64
  upscale_dropdown,
65
  ]
66
+ tabs = {"Basic Settings": input_component_1, "Advanced Settings": input_component_2}
67
 
68
  # Создаем интерфейс
69
  iface = gr.Interface(
70
  fn=render,
71
+ inputs=tabs,
72
  outputs=gr.Image(),
73
  )
74