abidlabs HF Staff commited on
Commit
e69beaf
·
verified ·
1 Parent(s): 54ec525

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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="🕺 Groovy Flow", value="flow.task")
9
  with gr.Row():
10
- with gr.Column():
11
- for component in flow.inputs:
12
- component.render()
13
- with gr.Column():
 
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(