update
Browse files
app.py
CHANGED
|
@@ -158,18 +158,18 @@ bot_inputs = [
|
|
| 158 |
]
|
| 159 |
|
| 160 |
|
| 161 |
-
with gr.Blocks(
|
| 162 |
gr.Markdown("<h1 style='font-size: 36px; font-weight: bold; font-family: Arial;'>Gemini 2.0 Multimodal Chatbot</h1>")
|
| 163 |
with gr.Row():
|
| 164 |
google_key_component.render()
|
| 165 |
with gr.Row():
|
| 166 |
chatbot_component.render()
|
| 167 |
with gr.Row():
|
| 168 |
-
with gr.Column(scale=
|
| 169 |
text_prompt_component.render()
|
| 170 |
-
with gr.Column(scale=
|
| 171 |
image_prompt_component.render()
|
| 172 |
-
with gr.Column(scale=
|
| 173 |
run_button_component.render()
|
| 174 |
with gr.Accordion("🧪Example Text 💬", open=False):
|
| 175 |
example_radio = gr.Radio(
|
|
@@ -195,4 +195,4 @@ with gr.Blocks(theme="earneleh/paris") as demo:
|
|
| 195 |
)
|
| 196 |
|
| 197 |
if __name__ == "__main__":
|
| 198 |
-
demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
|
|
|
|
| 158 |
]
|
| 159 |
|
| 160 |
|
| 161 |
+
with gr.Blocks() as demo:
|
| 162 |
gr.Markdown("<h1 style='font-size: 36px; font-weight: bold; font-family: Arial;'>Gemini 2.0 Multimodal Chatbot</h1>")
|
| 163 |
with gr.Row():
|
| 164 |
google_key_component.render()
|
| 165 |
with gr.Row():
|
| 166 |
chatbot_component.render()
|
| 167 |
with gr.Row():
|
| 168 |
+
with gr.Column(scale=1):
|
| 169 |
text_prompt_component.render()
|
| 170 |
+
with gr.Column(scale=1):
|
| 171 |
image_prompt_component.render()
|
| 172 |
+
with gr.Column(scale=1):
|
| 173 |
run_button_component.render()
|
| 174 |
with gr.Accordion("🧪Example Text 💬", open=False):
|
| 175 |
example_radio = gr.Radio(
|
|
|
|
| 195 |
)
|
| 196 |
|
| 197 |
if __name__ == "__main__":
|
| 198 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, share=False, theme="earneleh/paris")
|