Update app.py
Browse files
app.py
CHANGED
@@ -111,6 +111,25 @@ gr.ChatInterface(
|
|
111 |
additional_inputs=additional_inputs,
|
112 |
title="Mixtral 8B Fines didácticos",
|
113 |
description='Autor: <a href=\"https://huggingface.co/Antonio49\">Antonio Fernández</a> de <a href=\"https://saturdays.ai/\">SaturdaysAI</a>. Formación: <a href=\"https://cursos.saturdays.ai/courses/\">Cursos Online AI</a> Aplicación desarrollada con fines docentes',
|
|
|
114 |
examples=examples,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
concurrency_limit=20,
|
116 |
).launch(show_api=False)
|
|
|
111 |
additional_inputs=additional_inputs,
|
112 |
title="Mixtral 8B Fines didácticos",
|
113 |
description='Autor: <a href=\"https://huggingface.co/Antonio49\">Antonio Fernández</a> de <a href=\"https://saturdays.ai/\">SaturdaysAI</a>. Formación: <a href=\"https://cursos.saturdays.ai/courses/\">Cursos Online AI</a> Aplicación desarrollada con fines docentes',
|
114 |
+
theme="soft",
|
115 |
examples=examples,
|
116 |
+
iface = gr.ChatInterface(
|
117 |
+
fn = querying,
|
118 |
+
chatbot=gr.Chatbot(height=600),
|
119 |
+
textbox=gr.Textbox(placeholder="What is GenAI Ecosystem?", container=False, scale=7),
|
120 |
+
title="HiberusBot",
|
121 |
+
theme="soft",
|
122 |
+
examples=["Why Hiberus has created GenAI Ecosystem?",
|
123 |
+
"What is GenAI Ecosystem?"],
|
124 |
+
|
125 |
+
cache_examples=True,
|
126 |
+
retry_btn="Repetir",
|
127 |
+
undo_btn="Deshacer",
|
128 |
+
clear_btn="Borrar",
|
129 |
+
submit_btn="Enviar"
|
130 |
+
|
131 |
+
)
|
132 |
+
|
133 |
+
iface.launch(share=True)
|
134 |
concurrency_limit=20,
|
135 |
).launch(show_api=False)
|