Update app.py
Browse files44 unmodified lines4546474849505113 unmodified lines65666768697071727374757677787944 unmodified linesFor information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface""""""demo = gr.ChatInterface(respond,title="**Your word** \ Score \ Prompts left ",13 unmodified lines),],theme = "soft",)"""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 titleadditional_inputs=[title_input], # Pass the title input to the `respond` function)if __name__ == "__main__":44 unmodified lines4546474849505113 unmodified lines65666768697071727374757677787944 unmodified linesFor information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface"""demo = gr.ChatInterface(respond,title="**Your word** \ Score \ Prompts left ",13 unmodified lines),],theme = "soft",)"""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 titleadditional_inputs=[title_input], # Pass the title input to the `respond` function)"""if __name__ == "__main__":
app.py+4-4