Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
from launch.image_generation import image_generation_ui
|
| 3 |
from launch.model_generation import model_generation_ui
|
| 4 |
from launch.story_generation import story_generation_ui
|
|
@@ -7,9 +8,12 @@ with gr.Blocks() as demo:
|
|
| 7 |
with gr.Group():
|
| 8 |
with gr.Tab("Generate Story"):
|
| 9 |
story_generation_ui()
|
|
|
|
| 10 |
with gr.Tab("Generate Image and Remove Background"):
|
| 11 |
input_image, processed_image = image_generation_ui()
|
|
|
|
| 12 |
with gr.Tab("3D Model"):
|
| 13 |
output_model_obj, output_model_glb = model_generation_ui(
|
| 14 |
processed_image)
|
|
|
|
| 15 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
|
| 3 |
from launch.image_generation import image_generation_ui
|
| 4 |
from launch.model_generation import model_generation_ui
|
| 5 |
from launch.story_generation import story_generation_ui
|
|
|
|
| 8 |
with gr.Group():
|
| 9 |
with gr.Tab("Generate Story"):
|
| 10 |
story_generation_ui()
|
| 11 |
+
|
| 12 |
with gr.Tab("Generate Image and Remove Background"):
|
| 13 |
input_image, processed_image = image_generation_ui()
|
| 14 |
+
|
| 15 |
with gr.Tab("3D Model"):
|
| 16 |
output_model_obj, output_model_glb = model_generation_ui(
|
| 17 |
processed_image)
|
| 18 |
+
|
| 19 |
demo.launch()
|