gufett0's picture
added text streamer
20039a1
raw
history blame
392 Bytes
from backend import handle_query
import gradio as gr
iface = gr.ChatInterface(
fn=handle_query, # Query handling remains here
title="PDF Information and Inference",
description="Retrieval-Augmented Generation - Ask me anything about the content of the PDF.",
)
if __name__ == "__main__":
progress=gr.Progress(track_tqdm=True)
iface.launch(debug=True)