Spaces:
Sleeping
Sleeping
Update analysis.py
Browse files- analysis.py +2 -2
analysis.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
-
#
|
4 |
-
llm_pipeline = pipeline("text-generation", model="
|
5 |
|
6 |
def analyze_spending_pattern(df):
|
7 |
prompt = f"""
|
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
+
# Use Mistral-7B instead of Google Gemma (No login required)
|
4 |
+
llm_pipeline = pipeline("text-generation", model="mistralai/Mistral-7B-Instruct", device_map="auto")
|
5 |
|
6 |
def analyze_spending_pattern(df):
|
7 |
prompt = f"""
|