Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks(theme=gr.themes.Soft(), head=kofi_script) as demo:
|
|
121 |
label="Chatbot Header", # Alt text or label (not shown due to show_label=False)
|
122 |
show_label=False, # Hide the label text
|
123 |
interactive=False, # Make the image non-interactive
|
124 |
-
height=
|
125 |
elem_id="chatbot-logo" # Assign an HTML ID for potential CSS styling
|
126 |
)
|
127 |
|
@@ -129,7 +129,7 @@ with gr.Blocks(theme=gr.themes.Soft(), head=kofi_script) as demo:
|
|
129 |
gr.ChatInterface(
|
130 |
fn=respond, # The function to call when a message is sent
|
131 |
chatbot=gr.Chatbot( # Configure the chatbot display area
|
132 |
-
height=
|
133 |
),
|
134 |
# Additional parameters for ChatInterface can be added here, e.g.:
|
135 |
# title="Xortron7 Chat",
|
|
|
121 |
label="Chatbot Header", # Alt text or label (not shown due to show_label=False)
|
122 |
show_label=False, # Hide the label text
|
123 |
interactive=False, # Make the image non-interactive
|
124 |
+
height=150, # Set the height of the image
|
125 |
elem_id="chatbot-logo" # Assign an HTML ID for potential CSS styling
|
126 |
)
|
127 |
|
|
|
129 |
gr.ChatInterface(
|
130 |
fn=respond, # The function to call when a message is sent
|
131 |
chatbot=gr.Chatbot( # Configure the chatbot display area
|
132 |
+
height=650 # Set the height of the chat history display
|
133 |
),
|
134 |
# Additional parameters for ChatInterface can be added here, e.g.:
|
135 |
# title="Xortron7 Chat",
|