youngtsai commited on
Commit
3eafd89
1 Parent(s): 8b6845f
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -135,13 +135,12 @@ with gr.Blocks() as demo:
135
  send_button = gr.Button("Send")
136
 
137
  with gr.Column():
138
- with gr.Group():
139
- df_string_output = gr.Textbox(label="raw data")
140
- with gr.Group():
141
  gr.Markdown("## 這是一張什麼表?")
142
- df_summarise = gr.Textbox()
143
-
144
- with gr.Group():
145
  gr.Markdown("## 常用問題")
146
  btn_1 = gr.Button()
147
  btn_2 = gr.Button()
 
135
  send_button = gr.Button("Send")
136
 
137
  with gr.Column():
138
+ with gr.Tab("資料本文"):
139
+ df_string_output = gr.Textbox()
140
+ with gr.Tab("資料摘要"):
141
  gr.Markdown("## 這是一張什麼表?")
142
+ df_summarise = gr.Textbox()
143
+ with gr.Tab("常用問題"):
 
144
  gr.Markdown("## 常用問題")
145
  btn_1 = gr.Button()
146
  btn_2 = gr.Button()