Update app.py
Browse files
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()
|