Spaces:
Sleeping
Sleeping
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) |