Spaces:
Sleeping
Sleeping
File size: 392 Bytes
c09b98d 643e1b9 99d4e42 f51dfbf 99d4e42 643e1b9 22bb389 20039a1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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) |