JairoCesar commited on
Commit
c52e98f
verified
1 Parent(s): c545909

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -22,6 +22,16 @@ st.set_page_config(
22
  page_title="Interpretaci贸n Rorschach",
23
  page_icon="馃",
24
  )
 
 
 
 
 
 
 
 
 
 
25
 
26
  # Inicializar cliente - con log de verificaci贸n
27
  client = None
 
22
  page_title="Interpretaci贸n Rorschach",
23
  page_icon="馃",
24
  )
25
+ import os
26
+ from huggingface_hub import InferenceClient
27
+
28
+ hf_token = os.getenv("HF_TOKEN")
29
+ client = InferenceClient(
30
+ model="mistralai/Mixtral-8x7B-Instruct-v0.1",
31
+ token=hf_token
32
+ )
33
+
34
+
35
 
36
  # Inicializar cliente - con log de verificaci贸n
37
  client = None