File size: 770 Bytes
39b4836
237dc54
375ee53
 
ab8caaa
 
237dc54
 
4d6f443
378355d
4c8ae8c
80d0821
4c8ae8c
ab8caaa
 
 
 
 
820cfc0
ab8caaa
375ee53
 
4d6f443
61c3cca
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
import gradio as gr

from launch.image_generation import image_generation_ui
from launch.model_generation import model_generation_ui
from launch.story_generation import story_generation_ui
from launch.image_edition import image_edition_ui


with gr.Blocks() as demo:
    with gr.Group():
        with gr.Tab("Generate Story"):
            story_generation_ui()

        with gr.Tab("2D Character and Assets"):
            with gr.Tab("Edit Image"):
                image_edition_ui()
            with gr.Tab("Generate Image and Remove Background"):
                input_image, processed_image = image_generation_ui()

        with gr.Tab("3D Model"):
            output_model_obj, output_model_glb = model_generation_ui(
                processed_image)

demo.launch()