Spaces:
Running
Running
File size: 663 Bytes
345eb49 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
from geminisearch import webSearch
app = gr.ChatInterface(webSearch,
chatbot=gr.Chatbot(height=300),
type = "messages",
textbox=gr.Textbox(placeholder="Search the web", container=False, scale=7),
title="Gemini Web Search",
theme="ocean",
examples=["What is the current weather in Paris",
"What is the current exchange rate between USD and EUR",
"What is the current price of Bitcoin"])
if __name__ == "__main__":
app.launch(mcp_server=True)
|