import gradio as gr from geminisearch import webSearch app = gr.ChatInterface(webSearch, chatbot=gr.Chatbot(height=400), type = "messages", textbox=gr.Textbox(placeholder="Chat the web", container=False, scale=7), title="Gemini Web Chat", theme="upsatwal/mlsc_tiet", 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)