jcho02 commited on
Commit
ad99cfd
·
1 Parent(s): a105982

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -15,7 +15,7 @@ worksheet_name = "Sheet1"
15
  def feedback_response(feedback, comments, new_input_query):
16
  response = ''
17
  if feedback == 'Informative':
18
- response = 'Informative!'
19
  elif feedback == 'Inaccurate':
20
  response = 'Inaccurate'
21
  else:
@@ -39,14 +39,15 @@ feedback_interface = gr.Interface(
39
  inputs=[
40
  gr.Radio(
41
  choices=[
42
- "Good Response",
43
- "Bad Response",
44
- "Inappropriate Response"
45
  ],
46
  label="Feedback"
47
  ),
48
- gr.Textbox(label="Additional Comments"),
49
- gr.Textbox(label="New Input Query")
 
50
  ],
51
  outputs="text",
52
  title="Beta: Itell Guide Response Bot",
 
15
  def feedback_response(feedback, comments, new_input_query):
16
  response = ''
17
  if feedback == 'Informative':
18
+ response = 'Informative'
19
  elif feedback == 'Inaccurate':
20
  response = 'Inaccurate'
21
  else:
 
39
  inputs=[
40
  gr.Radio(
41
  choices=[
42
+ "Informative",
43
+ "Inaccurate",
44
+ "Nonsense"
45
  ],
46
  label="Feedback"
47
  ),
48
+ gr.Textbox(label="New Input Query"),
49
+ gr.Textbox(label="Additional Comments")
50
+
51
  ],
52
  outputs="text",
53
  title="Beta: Itell Guide Response Bot",