Update app.py
Browse files44 unmodified lines454647484849505113 unmodified lines65666768686970707172737475767677787944 unmodified linesFor information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface"""
"""demo = gr.ChatInterface(demo = gr.ChatInterface( respond, title="**Your word** \ Score \ Prompts left ",13 unmodified lines ), ], theme = "soft",)""")
with gr.Blocks() as demo:"""with gr.Blocks() as demo: title_input = gr.Textbox(label="Enter Title", value="Initial Title") chat_interface = gr.ChatInterface( respond, title="title_input", # Dynamically set the title additional_inputs=[title_input], # Pass the title input to the `respond` function ) )"""
if __name__ == "__main__": app.py+4-4