Spaces:
Build error
Build error
import gradio as gr | |
from rag import ask_baba | |
with gr.Blocks() as demo: | |
gr.Markdown("# π Ask Brahmarshi Baba Milind") | |
gr.Markdown("This is a satire demo. All answers are fictional.") | |
chatbot = gr.ChatInterface( | |
fn=ask_baba, | |
title="Baba Milind Chatbot", | |
description="Ask anything; Baba Milind will answer from sacred texts of Milind-gatha." | |
) | |
if __name__ == "__main__": | |
demo.launch(share=True) | |