narugo's picture
Update app.py
5a5d011 verified
raw
history blame
354 Bytes
import os
import gradio as gr
from base import Classification
apps = [
Classification('Completeness [Pro]', 'DeepBase/anime_completeness', 'caformer_s36_v2.3'),
]
if __name__ == '__main__':
with gr.Blocks() as demo:
with gr.Tabs():
for cls in apps:
cls.create_gr()
demo.queue(os.cpu_count()).launch()