GitaGPT / app.py
abhxay03's picture
Update app.py
a1cb6f2 verified
raw
history blame contribute delete
477 Bytes
import gradio as gr
from gitagpt_core import geeta_gpt
# Define chatbot function
def chat_with_geetagpt(message, history):
response = geeta_gpt(message)
return response
# Simple Gradio Chatbot UI
demo = gr.ChatInterface(
fn=chat_with_geetagpt,
title="πŸ•‰οΈ GeetaGPT β€” Bhagavad Gita Wisdom",
description="Ask questions in English or Hindi and receive divine guidance from the Bhagavad Gita.",
theme="soft", # or 'default', 'glass'
)
demo.launch()