Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ lista_modelos = [] "somosnlp/RecetasDeLaAbuela_gemma-2b-it-bnb-4bit", "somosnlp/
|
|
107 |
|
108 |
iface = gr.Interface(
|
109 |
fn=mostrar_respuesta,
|
110 |
-
inputs=[gr.Dropdown(lista_modelos, label="Modelo", type="value"),
|
111 |
gr.Textbox(label="Pregunta"),
|
112 |
gr.Textbox(label="Contexto", value="You are a helpful AI assistant. Eres un experto cocinero hispanoamericano."),],
|
113 |
outputs=[gr.Textbox(label="Respuesta", lines=2),],
|
|
|
107 |
|
108 |
iface = gr.Interface(
|
109 |
fn=mostrar_respuesta,
|
110 |
+
inputs=[gr.Dropdown(lista_modelos, value = 0, label="Modelo", type="value"),
|
111 |
gr.Textbox(label="Pregunta"),
|
112 |
gr.Textbox(label="Contexto", value="You are a helpful AI assistant. Eres un experto cocinero hispanoamericano."),],
|
113 |
outputs=[gr.Textbox(label="Respuesta", lines=2),],
|