import gradio as gr

def chat(message, history=[]): if "namaste" in message.lower(): reply = "Namaste! Main BharatGPT hoon ๐Ÿ‡ฎ๐Ÿ‡ณ" elif "tum kaun ho" in message.lower(): reply = "Main Bharat ka AI dost hoon, jo Hindi aur English dono samajhta hai!" elif "kaise ho" in message.lower(): reply = "Main badhiya hoon! Aap batao?" else: reply = "Mujhe samajh nahi aaya ๐Ÿ˜…, par main seekh raha hoon!" history.append((message, reply)) return history, history

demo = gr.ChatInterface(fn=chat, title="BharatGPT ๐Ÿ‡ฎ๐Ÿ‡ณ", theme="soft")

demo.launch()

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support