Spaces:
Runtime error
Runtime error
Langdon
commited on
Commit
•
302e124
1
Parent(s):
78be115
add .gitignore, readme
Browse files- .gitignore +1 -0
- README.md +1 -1
- app.py +2 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.devcontainer
|
README.md
CHANGED
@@ -9,4 +9,4 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
We are using this to evaluate our intelligent tutor. Please provide feedback on the bot's response to your question.
|
app.py
CHANGED
@@ -83,6 +83,8 @@ def feedback_response(
|
|
83 |
# Append the data to the worksheet
|
84 |
worksheet.append_rows(df.values.tolist())
|
85 |
gr.Info("Feedback Submitted")
|
|
|
|
|
86 |
return {
|
87 |
primary_feedback: None,
|
88 |
secondary_feedback: None,
|
|
|
83 |
# Append the data to the worksheet
|
84 |
worksheet.append_rows(df.values.tolist())
|
85 |
gr.Info("Feedback Submitted")
|
86 |
+
|
87 |
+
# Clear the feedback fields
|
88 |
return {
|
89 |
primary_feedback: None,
|
90 |
secondary_feedback: None,
|