BtB-ExpC commited on
Commit
a587854
·
1 Parent(s): 13a82a6

removed label from column

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -140,8 +140,8 @@ with gr.Blocks() as demo:
140
  )
141
  diagnoser_input = gr.Textbox(label="Enter exercise(s) in any format", placeholder="Exercise body: <mc:exercise xmlns:mc= ...")
142
  diagnoser_button = gr.Button("Submit")
143
- # Replace the single output textbox with a Column for multiple outputs:
144
- diagnoser_responses = gr.Column(label="Response(s)")
145
  with gr.TabItem("🤔 Generate distractors"):
146
  # Insert an HTML info icon with a tooltip at the top of the tab content.
147
  gr.HTML(
@@ -155,7 +155,8 @@ with gr.Blocks() as demo:
155
  )
156
  distractors_input = gr.Textbox(label="Enter exercise(s) in any format", placeholder="Stelling: Dit is een ..... voorbeeld van een stelling. A. Mooi B. Lelijk ...")
157
  distractors_button = gr.Button("Submit")
158
- distractors_responses = gr.Column(label="Response(s)")
 
159
  with gr.TabItem("🚧 Generate learning objectives"):
160
  # Insert an HTML info icon with a tooltip at the top of the tab content.
161
  gr.HTML(
@@ -169,7 +170,8 @@ with gr.Blocks() as demo:
169
  )
170
  learning_objectives_input = gr.Textbox(label="Enter exercise(s) in any format", placeholder="<h3>Infusie en infuussystemen</h3> <h4>Inleiding</h4> ...")
171
  learning_objectives_button = gr.Button("Submit")
172
- learning_objectives_responses = gr.Column(label="Response(s)")
 
173
 
174
  # -------------------------------
175
  # Set Up Interactions
 
140
  )
141
  diagnoser_input = gr.Textbox(label="Enter exercise(s) in any format", placeholder="Exercise body: <mc:exercise xmlns:mc= ...")
142
  diagnoser_button = gr.Button("Submit")
143
+ gr.Markdown("**Response(s):**")
144
+ diagnoser_responses = gr.Column()
145
  with gr.TabItem("🤔 Generate distractors"):
146
  # Insert an HTML info icon with a tooltip at the top of the tab content.
147
  gr.HTML(
 
155
  )
156
  distractors_input = gr.Textbox(label="Enter exercise(s) in any format", placeholder="Stelling: Dit is een ..... voorbeeld van een stelling. A. Mooi B. Lelijk ...")
157
  distractors_button = gr.Button("Submit")
158
+ gr.Markdown("**Response(s):**")
159
+ distractors_responses = gr.Column()
160
  with gr.TabItem("🚧 Generate learning objectives"):
161
  # Insert an HTML info icon with a tooltip at the top of the tab content.
162
  gr.HTML(
 
170
  )
171
  learning_objectives_input = gr.Textbox(label="Enter exercise(s) in any format", placeholder="<h3>Infusie en infuussystemen</h3> <h4>Inleiding</h4> ...")
172
  learning_objectives_button = gr.Button("Submit")
173
+ gr.Markdown("**Response(s):**")
174
+ learning_objectives_responses = gr.Column()
175
 
176
  # -------------------------------
177
  # Set Up Interactions