Web-Search-MCP / app.py
Ifeanyi's picture
Update app.py
190c32d verified
raw
history blame
671 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="gstaff/sketch",
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)