File size: 297 Bytes
60a49e6
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr

from src.llm import process_user_question

app = gr.Interface(
    fn=process_user_question,
    inputs="text",
    outputs="text",
    title="Bookstore Chatbot",
    description="A simple chatbot interface. Ask me anything about the books!",
)

# Launch the app
app.launch()