Spaces:
Sleeping
Sleeping
usamasansi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,8 @@
|
|
1 |
-
import
|
2 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
-
import torch
|
4 |
|
5 |
-
|
6 |
-
model_name = "usamasansi/carsell_model" # Your Hugging Face model name
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
-
model =
|
9 |
|
10 |
# Streamlit UI
|
11 |
st.title("Car Selling Chatbot")
|
|
|
1 |
+
from transformers import AutoModel, AutoTokenizer
|
|
|
|
|
2 |
|
3 |
+
model_name = "usamasansi/carsell_model"
|
|
|
4 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
5 |
+
model = AutoModel.from_pretrained(model_name)
|
6 |
|
7 |
# Streamlit UI
|
8 |
st.title("Car Selling Chatbot")
|