Update app.py
Browse files52 unmodified lines5354555657585952 unmodified lines'''creates a new Textbox component, which is used to collect user input.The show_label parameter is set to False to hide the label,and the placeholder parameter is set'''txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter").style(container=False)'''sets the submit action of the Textbox to the predict function,which takes the input from the Textbox, the chatbot instance,52 unmodified lines535455565758596052 unmodified lines'''creates a new Textbox component, which is used to collect user input.The show_label parameter is set to False to hide the label,and the placeholder parameter is set'''#txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter").style(container=False)txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter", css={"container": False})'''sets the submit action of the Textbox to the predict function,which takes the input from the Textbox, the chatbot instance,
app.py+2-1