Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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({'
|
30 |
|
31 |
# Append the data to the worksheet
|
32 |
worksheet.append_rows(df.values.tolist())
|
|
|
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())
|