Spaces:
Sleeping
Sleeping
File size: 841 Bytes
036b67a 1e1941e 036b67a d97c68b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
import gradio as gr
from gen_tab import create_gen_tab
from train_tab import create_train_tab
from virtualtryon_tab import create_virtualtryon_tab
from faceswap_tab import create_faceswap_tab
from ipadapter_tab import create_ipadaptor_tab
from dotenv import load_dotenv, find_dotenv
import os
_ = load_dotenv(find_dotenv())
with gr.Blocks(theme=gr.themes.Soft(
radius_size=gr.themes.sizes.radius_none,
primary_hue=gr.themes.colors.emerald,
secondary_hue=gr.themes.colors.green
)) as demo:
with gr.Tabs() as tabs:
create_gen_tab()
create_virtualtryon_tab()
# create_faceswap_tab()
create_ipadaptor_tab()
create_train_tab()
demo.launch(share=True,debug=True,auth=[("username", "password"),(os.getenv("APP_USER"),os.getenv("APP_PW"))]) |