wenkai commited on
Commit
2b1fc35
Β·
verified Β·
1 Parent(s): a8642e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -289,10 +289,9 @@ with gr.Blocks(css=css) as demo:
289
  downvote_button = gr.Button("πŸ‘Ž", elem_classes="downvote-button")
290
  vote_markdown = gr.Markdown(label="Output")
291
 
292
- with gr.Column():
293
- inputs = gr.Textbox(type="text")
294
- feedback_markdown = gr.Markdown(label="Output")
295
- feedback_btn = gr.Button(value="Submit")
296
  # O14813 train index 127, 266, 738, 1060 test index 4
297
  gr.Examples(
298
  examples=[
@@ -314,6 +313,7 @@ with gr.Blocks(css=css) as demo:
314
  downvote_button.click(downvote, vote_id, vote_markdown)
315
  feedback_btn.click(save_feedback, [inputs], [feedback_markdown])
316
 
 
317
  demo.launch(debug=True)
318
 
319
 
 
289
  downvote_button = gr.Button("πŸ‘Ž", elem_classes="downvote-button")
290
  vote_markdown = gr.Markdown(label="Output")
291
 
292
+ inputs = gr.Textbox(type="text", label="Your feedback")
293
+ feedback_markdown = gr.Markdown(label="Output")
294
+ feedback_btn = gr.Button(value="Submit")
 
295
  # O14813 train index 127, 266, 738, 1060 test index 4
296
  gr.Examples(
297
  examples=[
 
313
  downvote_button.click(downvote, vote_id, vote_markdown)
314
  feedback_btn.click(save_feedback, [inputs], [feedback_markdown])
315
 
316
+
317
  demo.launch(debug=True)
318
 
319