File size: 393 Bytes
2659381
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from dotenv import load_dotenv
import gradio as gr
load_dotenv()

from interfaces import landing_interface, main_pipeline

demo = gr.TabbedInterface([landing_interface, main_pipeline],
                          ["Introduction", "Reranking"],
                          title="GLiClass SandBox",
                          theme=gr.themes.Base())

demo.queue()
demo.launch(debug=True, share=True)