Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,11 +23,10 @@ from transformers import pipeline
|
|
23 |
from datasets import load_dataset
|
24 |
|
25 |
import transformers
|
26 |
-
repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
|
27 |
token=st.secrets["HF_TOKEN"]
|
28 |
from huggingface_hub import login
|
29 |
login(token=st.secrets["HF_TOKEN"])
|
30 |
-
repo_id = "mistralai/Mistral-7B-Instruct-v0.
|
31 |
|
32 |
model = HuggingFaceEndpoint(
|
33 |
repo_id=repo_id, max_length=128, temperature=0.5, token=token
|
|
|
23 |
from datasets import load_dataset
|
24 |
|
25 |
import transformers
|
|
|
26 |
token=st.secrets["HF_TOKEN"]
|
27 |
from huggingface_hub import login
|
28 |
login(token=st.secrets["HF_TOKEN"])
|
29 |
+
repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
|
30 |
|
31 |
model = HuggingFaceEndpoint(
|
32 |
repo_id=repo_id, max_length=128, temperature=0.5, token=token
|