Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
|
|
246 |
})
|
247 |
local_data = gr.JSON({}, visible=False)
|
248 |
|
249 |
-
gr.Markdown("##
|
250 |
gr.Markdown(
|
251 |
"This space demonstrates how to build feature rich chatbot UI in [Gradio](https://www.gradio.app/). Supported features "
|
252 |
"include • multiple chatting channels, • chat history save/restoration, • stop generating text response, • regenerate the "
|
@@ -311,7 +311,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
|
|
311 |
max_lines=50,
|
312 |
)
|
313 |
|
314 |
-
chatbot = gr.Chatbot(elem_id='chatbot', label="
|
315 |
instruction_txtbox = gr.Textbox(placeholder="Ask anything", label="", elem_id="prompt-txt")
|
316 |
|
317 |
with gr.Accordion("Example Templates", open=False):
|
|
|
246 |
})
|
247 |
local_data = gr.JSON({}, visible=False)
|
248 |
|
249 |
+
gr.Markdown("## PaLM2 API with Gradio Chat", elem_classes=["center"])
|
250 |
gr.Markdown(
|
251 |
"This space demonstrates how to build feature rich chatbot UI in [Gradio](https://www.gradio.app/). Supported features "
|
252 |
"include • multiple chatting channels, • chat history save/restoration, • stop generating text response, • regenerate the "
|
|
|
311 |
max_lines=50,
|
312 |
)
|
313 |
|
314 |
+
chatbot = gr.Chatbot(elem_id='chatbot', label="PaLM2 API")
|
315 |
instruction_txtbox = gr.Textbox(placeholder="Ask anything", label="", elem_id="prompt-txt")
|
316 |
|
317 |
with gr.Accordion("Example Templates", open=False):
|