rag / app.py
amiraghhh's picture
Upload 5 files
a09c868 verified
raw
history blame contribute delete
375 Bytes
import gradio as gr
from model import rag
demo = gr.Interface(
fn = rag,
inputs = gr.Textbox(lines=5, label="Enter your medical question here"),
outputs = gr.Textbox(lines=10, label="Generated Answer"),
title = "Medical QA",
description = "Type your query and get a model generated response.",
theme = gr.themes.Glass()
)
demo.launch()