Update app.py
Browse files
app.py
CHANGED
@@ -266,7 +266,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css) as demo:
|
|
266 |
return "Please select a feedback option before submitting."
|
267 |
|
268 |
# Define the CSV file path
|
269 |
-
csv_file_path = "/
|
270 |
|
271 |
# Check if the CSV file exists; if not, create it with headers
|
272 |
file_exists = os.path.isfile(csv_file_path)
|
|
|
266 |
return "Please select a feedback option before submitting."
|
267 |
|
268 |
# Define the CSV file path
|
269 |
+
csv_file_path = "https://huggingface.co/spaces/JanviMl/toxic-comment-classifier_rlhf/blob/main/feedback.csv"
|
270 |
|
271 |
# Check if the CSV file exists; if not, create it with headers
|
272 |
file_exists = os.path.isfile(csv_file_path)
|