File size: 631 Bytes
2023a9f e155f7f 5a5d011 e155f7f 2023a9f c6de60c 2023a9f e155f7f 21e723b 2023a9f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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:
gr.Markdown('''
**This space is for the PRO models we trained.**
We will not open its dataset and model files because the data provider of the model has not granted open source permission. Only an online demo can be provided here.
''')
with gr.Tabs():
for cls in apps:
cls.create_gr()
demo.queue(os.cpu_count()).launch()
|