Spaces:
Sleeping
Sleeping
Commit
·
364c4a3
1
Parent(s):
4878832
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def bot(
|
|
88 |
yield chatbot
|
89 |
|
90 |
|
91 |
-
image_prompt_component = gr.Image(type="pil", label="Image", scale=1, height=
|
92 |
chatbot_component = gr.Chatbot(
|
93 |
label='Blueberry-AI',
|
94 |
bubble_full_width=False,
|
@@ -103,7 +103,7 @@ text_prompt_component = gr.Textbox(
|
|
103 |
show_label=False,
|
104 |
scale=8
|
105 |
)
|
106 |
-
run_button_component = gr.Button(
|
107 |
temperature_component = gr.Slider(
|
108 |
minimum=0,
|
109 |
maximum=1.0,
|
@@ -181,11 +181,11 @@ with gr.Blocks() as demo:
|
|
181 |
gr.HTML(TITLE)
|
182 |
with gr.Column():
|
183 |
with gr.Row():
|
184 |
-
image_prompt_component.render()
|
185 |
chatbot_component.render()
|
186 |
-
|
187 |
with gr.Row():
|
188 |
-
text_prompt_component.render()
|
|
|
|
|
189 |
run_button_component.render()
|
190 |
with gr.Accordion("Parameters", open=False):
|
191 |
temperature_component.render()
|
|
|
88 |
yield chatbot
|
89 |
|
90 |
|
91 |
+
image_prompt_component = gr.Image(type="pil", label="Image", scale=1, height=50)
|
92 |
chatbot_component = gr.Chatbot(
|
93 |
label='Blueberry-AI',
|
94 |
bubble_full_width=False,
|
|
|
103 |
show_label=False,
|
104 |
scale=8
|
105 |
)
|
106 |
+
run_button_component = gr.Button()
|
107 |
temperature_component = gr.Slider(
|
108 |
minimum=0,
|
109 |
maximum=1.0,
|
|
|
181 |
gr.HTML(TITLE)
|
182 |
with gr.Column():
|
183 |
with gr.Row():
|
|
|
184 |
chatbot_component.render()
|
|
|
185 |
with gr.Row():
|
186 |
+
text_prompt_component.render()
|
187 |
+
image_prompt_component.render()
|
188 |
+
with gr.Row():
|
189 |
run_button_component.render()
|
190 |
with gr.Accordion("Parameters", open=False):
|
191 |
temperature_component.render()
|