Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from huggingface_hub import InferenceClient
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
# Crear un cliente de inferencia para el modelo preentrenado Mixtral-8x7B-Instruct-v0.1
|
| 6 |
-
client = InferenceClient("mistralai/
|
| 7 |
|
| 8 |
# Función para formatear el prompt con historial
|
| 9 |
def format_prompt(message, history, system_prompt):
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
# Crear un cliente de inferencia para el modelo preentrenado Mixtral-8x7B-Instruct-v0.1
|
| 6 |
+
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
| 7 |
|
| 8 |
# Función para formatear el prompt con historial
|
| 9 |
def format_prompt(message, history, system_prompt):
|