update
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
import time
|
| 3 |
from typing import List, Tuple, Optional
|
| 4 |
-
import google.
|
| 5 |
import gradio as gr
|
| 6 |
from PIL import Image
|
| 7 |
|
|
@@ -94,7 +94,7 @@ google_key_component = gr.Textbox(
|
|
| 94 |
)
|
| 95 |
|
| 96 |
image_prompt_component = gr.Image(type="pil", label="Input Image (Optional: Figure/Graph)")
|
| 97 |
-
chatbot_component = gr.Chatbot(label="Chatbot"
|
| 98 |
text_prompt_component = gr.Textbox(
|
| 99 |
placeholder="Type your question here...",
|
| 100 |
label="Ask",
|
|
|
|
| 1 |
import os
|
| 2 |
import time
|
| 3 |
from typing import List, Tuple, Optional
|
| 4 |
+
import google.genai as genai
|
| 5 |
import gradio as gr
|
| 6 |
from PIL import Image
|
| 7 |
|
|
|
|
| 94 |
)
|
| 95 |
|
| 96 |
image_prompt_component = gr.Image(type="pil", label="Input Image (Optional: Figure/Graph)")
|
| 97 |
+
chatbot_component = gr.Chatbot(label="Chatbot")
|
| 98 |
text_prompt_component = gr.Textbox(
|
| 99 |
placeholder="Type your question here...",
|
| 100 |
label="Ask",
|