Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,9 +36,8 @@ def google_search_query(question, use_web_search):
|
|
| 36 |
# Gradio Interface using Chatbot and conditional web search
|
| 37 |
with gr.Blocks(theme=gr.themes.Glass(primary_hue = "violet")) as app:
|
| 38 |
gr.Markdown("# Gemini 2.0 Google Search Custom UI")
|
| 39 |
-
|
| 40 |
with gr.Row():
|
| 41 |
-
|
| 42 |
with gr.Row():
|
| 43 |
question_input = gr.Textbox(lines=2, label="Ask a Question")
|
| 44 |
web_search_checkbox = gr.Checkbox(label="Enhance with Web Search", value=False)
|
|
|
|
| 36 |
# Gradio Interface using Chatbot and conditional web search
|
| 37 |
with gr.Blocks(theme=gr.themes.Glass(primary_hue = "violet")) as app:
|
| 38 |
gr.Markdown("# Gemini 2.0 Google Search Custom UI")
|
|
|
|
| 39 |
with gr.Row():
|
| 40 |
+
chatbot = gr.Chatbot(label="Chatbot Responses")
|
| 41 |
with gr.Row():
|
| 42 |
question_input = gr.Textbox(lines=2, label="Ask a Question")
|
| 43 |
web_search_checkbox = gr.Checkbox(label="Enhance with Web Search", value=False)
|