JaphetHernandez commited on
Commit
4851603
verified
1 Parent(s): f73e858

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -3,7 +3,8 @@ import os
3
  #os.environ["MISTRAL_API_KEY"] = getpass.getpass()
4
  #os.environ["HF_TOKEN"] = getpass.getpass()
5
  api_key = os.getenv("HF_TOKEN")
 
 
 
 
6
 
7
-
8
- # Usa la API Key en tu c贸digo
9
- print(api_key)
 
3
  #os.environ["MISTRAL_API_KEY"] = getpass.getpass()
4
  #os.environ["HF_TOKEN"] = getpass.getpass()
5
  api_key = os.getenv("HF_TOKEN")
6
+ client = HuggingFaceHub(repo_id = 'mistralai/Mathstral-7B-v0.1') # 'mistralai/Mathstral-7B-v0.1')
7
+ prompt = "What is the best French cheese?"
8
+ response = client(prompt)
9
+ print(response)
10