added height inside gr.Chatbot() instead of fill_height
Browse files
app.py
CHANGED
@@ -62,13 +62,14 @@ def krypton(input,
|
|
62 |
print(output_text)
|
63 |
return output_text
|
64 |
|
65 |
-
chatbot=gr.Chatbot(
|
66 |
chat_input = gr.MultimodalTextbox(Interactive=True, file_types=["image"], placeholder="Enter your question or upload an image.", show_label=False)
|
67 |
with gr.Blocks(fill_height=True) as demo:
|
68 |
gr.Markdown(DESCRIPTION)
|
69 |
gr.ChatInterface(
|
70 |
fn=krypton,
|
71 |
chatbot=chatbot,
|
|
|
72 |
multimodal=True,
|
73 |
textbox=chat_input,
|
74 |
)
|
|
|
62 |
print(output_text)
|
63 |
return output_text
|
64 |
|
65 |
+
chatbot=gr.Chatbot(height=600, label="Krypt AI")
|
66 |
chat_input = gr.MultimodalTextbox(Interactive=True, file_types=["image"], placeholder="Enter your question or upload an image.", show_label=False)
|
67 |
with gr.Blocks(fill_height=True) as demo:
|
68 |
gr.Markdown(DESCRIPTION)
|
69 |
gr.ChatInterface(
|
70 |
fn=krypton,
|
71 |
chatbot=chatbot,
|
72 |
+
fill_height=True,
|
73 |
multimodal=True,
|
74 |
textbox=chat_input,
|
75 |
)
|