Blood076 commited on
Commit
7ed5855
·
verified ·
1 Parent(s): b7c7ead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- chat_interface = gr.ChatInterface(
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
- chat_interface.launch()
 
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()