Spaces:
Paused
Paused
JaphetHernandez
commited on
Commit
•
0a421a5
1
Parent(s):
154ac2a
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from huggingface_hub import login
|
|
9 |
huggingface_token = st.secrets["TF_TOKEN2"]
|
10 |
login(huggingface_token)
|
11 |
#api_key = os.getenv("HF_TOKEN2")
|
12 |
-
client = HuggingFaceHub(repo_id = 'mistralai/Mathstral-7B-v0.1', huggingfacehub_api_token=
|
13 |
prompt = "What is the best French cheese?"
|
14 |
response = client(prompt)
|
15 |
print(response)
|
|
|
9 |
huggingface_token = st.secrets["TF_TOKEN2"]
|
10 |
login(huggingface_token)
|
11 |
#api_key = os.getenv("HF_TOKEN2")
|
12 |
+
client = HuggingFaceHub(repo_id = 'mistralai/Mathstral-7B-v0.1', huggingfacehub_api_token=huggingface_token) # 'mistralai/Mathstral-7B-v0.1')
|
13 |
prompt = "What is the best French cheese?"
|
14 |
response = client(prompt)
|
15 |
print(response)
|