JaphetHernandez commited on
Commit
154ac2a
·
verified ·
1 Parent(s): 977425f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ from huggingface_hub import login
8
  # Token Secret of Hugging Face
9
  huggingface_token = st.secrets["TF_TOKEN2"]
10
  login(huggingface_token)
11
- #api_key = os.getenv("HF_TOKEN")
12
- client = HuggingFaceHub(repo_id = 'mistralai/Mathstral-7B-v0.1', huggingfacehub_api_token="HF_TOKEN") # 'mistralai/Mathstral-7B-v0.1')
13
  prompt = "What is the best French cheese?"
14
  response = client(prompt)
15
  print(response)
 
8
  # Token Secret of Hugging Face
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="HF_TOKEN2") # 'mistralai/Mathstral-7B-v0.1')
13
  prompt = "What is the best French cheese?"
14
  response = client(prompt)
15
  print(response)