fruitpicker01 commited on
Commit
6711778
·
verified ·
1 Parent(s): 504146e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
  # Функция для смены вкладки
4
  def change_tab(id):
5
- return gr.Tabs.update(selected=id)
6
 
7
  with gr.Blocks() as demo:
8
  with gr.Tabs() as tabs:
 
2
 
3
  # Функция для смены вкладки
4
  def change_tab(id):
5
+ return gr.Tabs(selected=id)
6
 
7
  with gr.Blocks() as demo:
8
  with gr.Tabs() as tabs: