Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def feedback_response(input_message, feedback, comments):
|
|
59 |
sh = gc.open_by_key(sheet_id)
|
60 |
worksheet = sh.worksheet(worksheet_name)
|
61 |
|
62 |
-
"Thank you for your feedback. Your response and feedback has been recorded!" = "Thank you for your feedback. Your response and feedback has been recorded!"
|
63 |
# Append the data to the worksheet only if comments have a value
|
64 |
if comments:
|
65 |
# Create a DataFrame from the response and additional comments
|
@@ -67,7 +67,7 @@ def feedback_response(input_message, feedback, comments):
|
|
67 |
|
68 |
# Append the data to the worksheet
|
69 |
worksheet.append_rows(df.values.tolist())
|
70 |
-
initial_response =
|
71 |
|
72 |
|
73 |
return initial_response, elapsed_time # Return the initial_response and elapsed_time
|
|
|
59 |
sh = gc.open_by_key(sheet_id)
|
60 |
worksheet = sh.worksheet(worksheet_name)
|
61 |
|
62 |
+
thankyou = "Thank you for your feedback. Your response and feedback has been recorded!" = "Thank you for your feedback. Your response and feedback has been recorded!"
|
63 |
# Append the data to the worksheet only if comments have a value
|
64 |
if comments:
|
65 |
# Create a DataFrame from the response and additional comments
|
|
|
67 |
|
68 |
# Append the data to the worksheet
|
69 |
worksheet.append_rows(df.values.tolist())
|
70 |
+
initial_response = thankyou
|
71 |
|
72 |
|
73 |
return initial_response, elapsed_time # Return the initial_response and elapsed_time
|