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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,7 +3,7 @@ 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
- 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)
 
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)