Ticio commited on
Commit
6c83fea
·
verified ·
1 Parent(s): bcbc055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,6 +11,6 @@ theme = theme = gr.themes.Soft(
11
  with gr.Blocks(theme = theme) as demo:
12
  chatbot = gr.Chatbot(type="messages")
13
  hidden_text = gr.Textbox(visible = False) # Added hidden text component
14
- gr.ChatInterface(fn=inference, chatbot=chatbot, type="messages", additional_inputs= hidden_text, additional_outputs= hidden_text, save_history= True).render()
15
 
16
  demo.launch()
 
11
  with gr.Blocks(theme = theme) as demo:
12
  chatbot = gr.Chatbot(type="messages")
13
  hidden_text = gr.Textbox(visible = False) # Added hidden text component
14
+ gr.ChatInterface(fn=inference, chatbot=chatbot, type="messages", additional_inputs= hidden_text, additional_outputs= hidden_text, save_history= True, show_api= False).render()
15
 
16
  demo.launch()