BioMike's picture
Upload 5 files
3a433e8 verified
raw
history blame contribute delete
554 Bytes
import subprocess
subprocess.run(["pip", "uninstall", "gradio"])
subprocess.run(["pip", "install", "gliclass==0.1.3"])
subprocess.run(["pip", "install", "gradio==4.20.0"])
import gradio as gr
from interfaces import landing_interface, main_pipeline
demo = gr.TabbedInterface([landing_interface, main_pipeline],
["Introduction", "Zero-Shot Text Classification"],
title="GLiClass SandBox",
theme=gr.themes.Base())
demo.queue()
demo.launch(debug=True, share=True)