gufett0's picture
changed class interface
b7a41e7
raw
history blame
475 Bytes
from backend import handle_query
import gradio as gr
with gr.Blocks(css=".gradio-container {background-color: #B9D9EB}") as iface:
gr.ChatInterface(
fn=handle_query,
title="Odi, l'assistente ricercatore degli Osservatori",
description="Retrieval-Augmented Generation - Ask me anything about the research carried out at the Osservatori.",
)
if __name__ == "__main__":
progress = gr.Progress(track_tqdm=True)
iface.launch(debug=True)