Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def get_hf_api_token():
|
|
73 |
return os.environ.get("HF_API_TOKEN")
|
74 |
|
75 |
# Function to analyze journal entries
|
76 |
-
def analyze_journal(entry, model_name="deepseek-ai/
|
77 |
api_token = get_hf_api_token()
|
78 |
if not api_token:
|
79 |
return "Error: No API token found. Please configure your Hugging Face API token in the Spaces secrets."
|
|
|
73 |
return os.environ.get("HF_API_TOKEN")
|
74 |
|
75 |
# Function to analyze journal entries
|
76 |
+
def analyze_journal(entry, model_name="deepseek-ai/DeepSeek-R1"):
|
77 |
api_token = get_hf_api_token()
|
78 |
if not api_token:
|
79 |
return "Error: No API token found. Please configure your Hugging Face API token in the Spaces secrets."
|