Update app.py
Browse files
app.py
CHANGED
|
@@ -93,11 +93,11 @@ google_key_component = gr.Textbox(
|
|
| 93 |
visible=GOOGLE_API_KEY is None
|
| 94 |
)
|
| 95 |
|
| 96 |
-
image_prompt_component = gr.Image(type="pil", label="
|
| 97 |
chatbot_component = gr.Chatbot(label="Chatbot", bubble_full_width=False)
|
| 98 |
text_prompt_component = gr.Textbox(
|
| 99 |
placeholder="Type your question here...",
|
| 100 |
-
label="Ask
|
| 101 |
lines=3
|
| 102 |
)
|
| 103 |
run_button_component = gr.Button("Submit")
|
|
@@ -160,7 +160,7 @@ bot_inputs = [
|
|
| 160 |
|
| 161 |
|
| 162 |
with gr.Blocks(theme="earneleh/paris") as demo:
|
| 163 |
-
gr.
|
| 164 |
with gr.Row():
|
| 165 |
google_key_component.render()
|
| 166 |
with gr.Row():
|
|
|
|
| 93 |
visible=GOOGLE_API_KEY is None
|
| 94 |
)
|
| 95 |
|
| 96 |
+
image_prompt_component = gr.Image(type="pil", label="Input Image (Optional: Figure/Graph)")
|
| 97 |
chatbot_component = gr.Chatbot(label="Chatbot", bubble_full_width=False)
|
| 98 |
text_prompt_component = gr.Textbox(
|
| 99 |
placeholder="Type your question here...",
|
| 100 |
+
label="Ask",
|
| 101 |
lines=3
|
| 102 |
)
|
| 103 |
run_button_component = gr.Button("Submit")
|
|
|
|
| 160 |
|
| 161 |
|
| 162 |
with gr.Blocks(theme="earneleh/paris") as demo:
|
| 163 |
+
gr.Markdown("Gemini-2.0 Multimodal Chatbot")
|
| 164 |
with gr.Row():
|
| 165 |
google_key_component.render()
|
| 166 |
with gr.Row():
|