jcho02 commited on
Commit
9955b8a
·
1 Parent(s): b34371f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -26,7 +26,7 @@ def feedback_response(feedback, comments, new_input_query):
26
  worksheet = sh.worksheet(worksheet_name)
27
 
28
  # Create a DataFrame from the response and additional comments
29
- df = pd.DataFrame({'New Input Query': [new_input_query],'Response': [response], 'Additional Comments': [comments]})
30
 
31
  # Append the data to the worksheet
32
  worksheet.append_rows(df.values.tolist())
@@ -45,10 +45,9 @@ feedback_interface = gr.Interface(
45
  ],
46
  label="Feedback"
47
  ),
48
- gr.Textbox(label="Additional Comments")
49
-
50
  ],
51
- gr.Textbox(label="New Input Query"),
52
  outputs="text"
53
  )
54
 
 
26
  worksheet = sh.worksheet(worksheet_name)
27
 
28
  # Create a DataFrame from the response and additional comments
29
+ df = pd.DataFrame({'Response': [response], 'Additional Comments': [comments], 'New Input Query': [new_input_query]})
30
 
31
  # Append the data to the worksheet
32
  worksheet.append_rows(df.values.tolist())
 
45
  ],
46
  label="Feedback"
47
  ),
48
+ gr.Textbox(label="Additional Comments"),
49
+ gr.Textbox(label="New Input Query")
50
  ],
 
51
  outputs="text"
52
  )
53