Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def save_feedback(question, response, rating, comment):
|
|
| 98 |
writer.writerow({'question': question, 'response': response, 'rating': rating, 'comment': comment})
|
| 99 |
|
| 100 |
# Push the updated file to the Hugging Face repository
|
| 101 |
-
|
| 102 |
|
| 103 |
st.success("Thank you for your feedback! It has been saved.")
|
| 104 |
except Exception as e:
|
|
|
|
| 98 |
writer.writerow({'question': question, 'response': response, 'rating': rating, 'comment': comment})
|
| 99 |
|
| 100 |
# Push the updated file to the Hugging Face repository
|
| 101 |
+
reposss.push_to_hub(commit_message="Updated feedback")
|
| 102 |
|
| 103 |
st.success("Thank you for your feedback! It has been saved.")
|
| 104 |
except Exception as e:
|