replaced the label with title on Chatinterface
Browse files
app.py
CHANGED
@@ -307,7 +307,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
307 |
# text_output = gr.Textbox(label="Generated Text")
|
308 |
# generate_text_button = gr.Button("Generated Text")
|
309 |
# generate_text_button.click(fn=bot_comms, inputs=text_prompt, outputs=text_output)
|
310 |
-
chat = gr.ChatInterface(fn=bot_comms,
|
311 |
|
312 |
# gr.Markdown(DESCRIPTION)
|
313 |
# if mode == "chatting":
|
|
|
307 |
# text_output = gr.Textbox(label="Generated Text")
|
308 |
# generate_text_button = gr.Button("Generated Text")
|
309 |
# generate_text_button.click(fn=bot_comms, inputs=text_prompt, outputs=text_output)
|
310 |
+
chat = gr.ChatInterface(fn=bot_comms, title="Chat with Bot.")
|
311 |
|
312 |
# gr.Markdown(DESCRIPTION)
|
313 |
# if mode == "chatting":
|