Update app.py
Browse files
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("
|
56 |
if not hf_token:
|
57 |
raise ValueError("Hugging Face token not found in environment variables!")
|
58 |
|
|
|
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 |
|