jcho02 commited on
Commit
2ccbe74
·
1 Parent(s): adb5430

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -88,12 +88,15 @@ feedback_interface = gr.Interface(
88
  fn=feedback_response,
89
  inputs=[
90
  gr.Textbox(label="Input Message"),
91
- gr.RadioGroup(
92
- label="Feedback",
93
- choices=[
94
- ["Good", "Bad", "Inappropriate"],
95
- ["Informative", "Inaccurate", "Nonsense"]
96
- ]
 
 
 
97
  ),
98
  gr.Textbox(label="Additional Comments")
99
  ],
 
88
  fn=feedback_response,
89
  inputs=[
90
  gr.Textbox(label="Input Message"),
91
+ gr.Row(
92
+ gr.Radio("Good", label="Good"),
93
+ gr.Radio("Bad", label="Bad"),
94
+ gr.Radio("Inappropriate", label="Inappropriate")
95
+ ),
96
+ gr.Row(
97
+ gr.Radio("Informative", label="Informative"),
98
+ gr.Radio("Inaccurate", label="Inaccurate"),
99
+ gr.Radio("Nonsense", label="Nonsense")
100
  ),
101
  gr.Textbox(label="Additional Comments")
102
  ],