Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,9 @@ import pandas as pd
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from pandasai import SmartDataframe
|
| 5 |
|
| 6 |
-
llm = pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct", trust_remote_code=True)
|
|
|
|
|
|
|
| 7 |
|
| 8 |
st.title("Data Analysis with Pandas AI")
|
| 9 |
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from pandasai import SmartDataframe
|
| 5 |
|
| 6 |
+
#llm = pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct", trust_remote_code=True)
|
| 7 |
+
llm = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6", torch_dtype=torch.bfloat16)
|
| 8 |
+
|
| 9 |
|
| 10 |
st.title("Data Analysis with Pandas AI")
|
| 11 |
|