Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ with gr.Blocks() as demo:
|
|
92 |
)
|
93 |
|
94 |
# Interface de chat com as entradas adicionais visíveis
|
95 |
-
|
96 |
respond,
|
97 |
additional_inputs=[character, initial_context_message, max_tokens, temperature, top_p],
|
98 |
#outputs=chat_output,
|
@@ -101,4 +101,4 @@ with gr.Blocks() as demo:
|
|
101 |
)
|
102 |
|
103 |
if __name__ == "__main__":
|
104 |
-
|
|
|
92 |
)
|
93 |
|
94 |
# Interface de chat com as entradas adicionais visíveis
|
95 |
+
demo = gr.ChatInterface(
|
96 |
respond,
|
97 |
additional_inputs=[character, initial_context_message, max_tokens, temperature, top_p],
|
98 |
#outputs=chat_output,
|
|
|
101 |
)
|
102 |
|
103 |
if __name__ == "__main__":
|
104 |
+
demo.launch()
|