new code
Browse files- src/interface.py +2 -2
src/interface.py
CHANGED
@@ -13,13 +13,13 @@ def create_demo():
|
|
13 |
You can adjust various parameters to control the model's output.
|
14 |
"""
|
15 |
)
|
16 |
-
with gr.Column():
|
17 |
with gr.Row():
|
18 |
chat_history = gr.Chatbot(value=[], elem_id='chatbot', height=480)
|
19 |
show_img = gr.Image(label='Overview', height=480)
|
20 |
|
21 |
# Sliders in the Rightmost Column
|
22 |
-
with gr.Column():
|
23 |
with gr.Row():
|
24 |
slider_chunk_size = gr.Slider(
|
25 |
minimum=256, maximum=1024, value=256, label="Chunk Size", elem_id='slider1'
|
|
|
13 |
You can adjust various parameters to control the model's output.
|
14 |
"""
|
15 |
)
|
16 |
+
with gr.Column(scale=-0.75):
|
17 |
with gr.Row():
|
18 |
chat_history = gr.Chatbot(value=[], elem_id='chatbot', height=480)
|
19 |
show_img = gr.Image(label='Overview', height=480)
|
20 |
|
21 |
# Sliders in the Rightmost Column
|
22 |
+
with gr.Column(scale=0.25):
|
23 |
with gr.Row():
|
24 |
slider_chunk_size = gr.Slider(
|
25 |
minimum=256, maximum=1024, value=256, label="Chunk Size", elem_id='slider1'
|