unausagi commited on
Commit
f8b7a46
·
verified ·
1 Parent(s): b06ae2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,7 +58,7 @@ with gr.Blocks() as app:
58
  )
59
 
60
  # 使用 gr.Blocks 的布局功能來組織元件
61
- app.add_component(chat_interface)
62
- app.add_component(model_selector)
63
 
64
  app.launch()
 
58
  )
59
 
60
  # 使用 gr.Blocks 的布局功能來組織元件
61
+ app.get_component(chat_interface)
62
+ app.get_component(model_selector)
63
 
64
  app.launch()