Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -5,12 +5,13 @@ print(gv.__version__)
|
|
5 |
from flow import flow
|
6 |
|
7 |
with gr.Blocks() as app:
|
8 |
-
task_box = gr.Textbox(label="🕺
|
9 |
with gr.Row():
|
10 |
-
|
11 |
-
|
12 |
-
component.
|
13 |
-
|
|
|
14 |
gr.Image()
|
15 |
|
16 |
@gr.on(
|
|
|
5 |
from flow import flow
|
6 |
|
7 |
with gr.Blocks() as app:
|
8 |
+
task_box = gr.Textbox(label="🕺 Task", value="flow.task")
|
9 |
with gr.Row():
|
10 |
+
if flow.inputs:
|
11 |
+
with gr.Column(scale=1):
|
12 |
+
for component in flow.inputs:
|
13 |
+
component.render()
|
14 |
+
with gr.Column(scale=3):
|
15 |
gr.Image()
|
16 |
|
17 |
@gr.on(
|