Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
chatbot = gr.Chatbot(
|
| 7 |
placeholder="<strong>Sou o Chatbot de Legislação da Unesp</strong><br>Fique à vontade para fazer perguntas",
|
| 8 |
bubble_full_width=False,
|
| 9 |
-
avatar_images=(None,
|
| 10 |
)
|
| 11 |
text = gr.Textbox(placeholder="Faça uma pergunta sobre a Legislação da Unesp", submit_btn=True)
|
| 12 |
dropbox = gr.Dropdown(["gpt-35-turbo", "gpt-4", "Phi-3-5-mini-instruct"], value="gpt-35-turbo", label='Modelo')
|
|
@@ -19,7 +19,6 @@ with gr.Blocks() as demo:
|
|
| 19 |
],
|
| 20 |
additional_inputs_accordion = 'Configurações',
|
| 21 |
chatbot=chatbot,
|
| 22 |
-
examples = examplesChatbot,
|
| 23 |
)
|
| 24 |
examples_list = gr.Examples(examples=examplesChatbot, inputs=text)
|
| 25 |
|
|
|
|
| 6 |
chatbot = gr.Chatbot(
|
| 7 |
placeholder="<strong>Sou o Chatbot de Legislação da Unesp</strong><br>Fique à vontade para fazer perguntas",
|
| 8 |
bubble_full_width=False,
|
| 9 |
+
avatar_images=(None, "imgs/chatbot-avatar.png"),
|
| 10 |
)
|
| 11 |
text = gr.Textbox(placeholder="Faça uma pergunta sobre a Legislação da Unesp", submit_btn=True)
|
| 12 |
dropbox = gr.Dropdown(["gpt-35-turbo", "gpt-4", "Phi-3-5-mini-instruct"], value="gpt-35-turbo", label='Modelo')
|
|
|
|
| 19 |
],
|
| 20 |
additional_inputs_accordion = 'Configurações',
|
| 21 |
chatbot=chatbot,
|
|
|
|
| 22 |
)
|
| 23 |
examples_list = gr.Examples(examples=examplesChatbot, inputs=text)
|
| 24 |
|