oceddyyy commited on
Commit
754f93f
·
verified ·
1 Parent(s): 649117f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ if os.path.exists(feedback_path) and os.path.getsize(feedback_path) > 0:
52
 
53
  # === Hugging Face Upload ===
54
  def upload_feedback_to_hf():
55
- hf_token = os.getenv("Univ_AI_Project") # Access the token from environment variables
56
  if not hf_token:
57
  raise ValueError("Hugging Face token not found in environment variables!")
58
 
@@ -60,7 +60,7 @@ def upload_feedback_to_hf():
60
  upload_file(
61
  path_or_fileobj=feedback_path,
62
  path_in_repo="feedback.json",
63
- repo_id="UniversityAIChatbot/University_Inquiries_Feedback", # Replace with your actual HF dataset repo ID
64
  repo_type="dataset",
65
  token=hf_token
66
  )
 
52
 
53
  # === Hugging Face Upload ===
54
  def upload_feedback_to_hf():
55
+ hf_token = os.getenv("PUP_AI_Chatbot_Token") # Access the token from environment variables
56
  if not hf_token:
57
  raise ValueError("Hugging Face token not found in environment variables!")
58
 
 
60
  upload_file(
61
  path_or_fileobj=feedback_path,
62
  path_in_repo="feedback.json",
63
+ repo_id="oceddyyy/University_Inquiries_Feedback", # Replace with your actual HF dataset repo ID
64
  repo_type="dataset",
65
  token=hf_token
66
  )