Web-Search-MCP / app.py
Ifeanyi
Application files
345eb49
raw
history blame
663 Bytes
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)