File size: 559 Bytes
c09b98d
643e1b9
 
 
99d4e42
f51dfbf
99d4e42
c611543
 
99d4e42
 
c611543
c5a2ac1
 
 
c611543
 
643e1b9
 
c611543
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from backend import handle_query
import gradio as gr



iface = gr.ChatInterface(
        fn=handle_query,  # Query handling remains here
        title="Odi, la chatbot degli Osservatori",
        description="Retrieval-Augmented Generation - Ask me anything about the research carried out at the Osservatori.",
    )

css = """
body, html, .gradio-app {
    background-color: #ADD8E6 !important;  /* Light blue background */
    color: black;
}
"""

if __name__ == "__main__":
    progress = gr.Progress(track_tqdm=True)
    iface.launch(debug=True, css=css)