Spaces:
Sleeping
Sleeping
Commit
•
bf88d0f
1
Parent(s):
e011fe4
Update app.py
Browse files
app.py
CHANGED
@@ -79,13 +79,14 @@ def respond(
|
|
79 |
chatbot=gr.Chatbot(height=450, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
|
80 |
|
81 |
# Define the interface layout
|
82 |
-
with gr.Blocks(css=css) as demo:
|
83 |
# Add description markdown
|
84 |
gr.Markdown(DESCRIPTION)
|
85 |
# Add duplicate button
|
86 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
87 |
# Add chat interface
|
88 |
gr.ChatInterface(
|
|
|
89 |
fn=respond,
|
90 |
chatbot=chatbot,
|
91 |
examples=[
|
|
|
79 |
chatbot=gr.Chatbot(height=450, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
|
80 |
|
81 |
# Define the interface layout
|
82 |
+
with gr.Blocks(fill_height=True,css=css) as demo:
|
83 |
# Add description markdown
|
84 |
gr.Markdown(DESCRIPTION)
|
85 |
# Add duplicate button
|
86 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
87 |
# Add chat interface
|
88 |
gr.ChatInterface(
|
89 |
+
fill_height=True
|
90 |
fn=respond,
|
91 |
chatbot=chatbot,
|
92 |
examples=[
|