Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from function_example import weather_chat_app | |
| import time | |
| def input(message,history): | |
| return weather_chat_app(message) | |
| #return f"Current weather in {message} is 22 degree Celsius and clear sky" | |
| interface = gr.ChatInterface(fn=input | |
| ,textbox=gr.Textbox(placeholder="Ask about the weather in any city!") | |
| ,title="Weather Bot", description="Ask about the weather in any city!") | |
| interface.launch() |