Update app.py
Browse files
app.py
CHANGED
@@ -38,15 +38,16 @@ with gr.Blocks(
|
|
38 |
# Link the dropdown with the textbox to update the description based on the selected model
|
39 |
model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
50 |
|
51 |
with gr.Column(scale=4, elem_id='col'):
|
52 |
chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot")
|
|
|
38 |
# Link the dropdown with the textbox to update the description based on the selected model
|
39 |
model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|
40 |
|
41 |
+
with gr.Row():
|
42 |
+
gallery = gr.Gallery(label="Current Space Hardware used",
|
43 |
+
show_label=True,
|
44 |
+
interactive=False,
|
45 |
+
value=["space_hardware.png"],
|
46 |
+
type="filepath",
|
47 |
+
show_share_button=False,
|
48 |
+
show_download_button=False,
|
49 |
+
columns=1
|
50 |
+
)
|
51 |
|
52 |
with gr.Column(scale=4, elem_id='col'):
|
53 |
chatbot = gr.Chatbot(label="Chatroom", value=[(None, "How may I help you today?")], elem_id="chatbot")
|