Spaces:
Sleeping
Sleeping
File size: 414 Bytes
eba9c47 643e1b9 |
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,
title="PDF Information and Inference",
description="Retrieval-Augmented Generation - Ask me anything about the content of the PDF.",
#examples=["What is the main topic of the document?", "Can you summarize the key points?"],
#cache_examples=True,
)
if __name__ == "__main__":
iface.launch() |