Provide ready binary for Mac and Linux to do sharing tunneling (#49)

This commit is contained in:
Nguyen Trung Duc (john)
2023-10-17 17:19:29 +07:00
committed by GitHub
parent 2b779926c6
commit aab982ddc4
4 changed files with 124 additions and 38 deletions

View File

@@ -106,12 +106,16 @@ def construct_pipeline_ui(
export_btn.click(func_export, inputs=None, outputs=exported_file)
with gr.Row():
with gr.Column():
with temp("Params"):
for component in params:
component.render()
with temp("Inputs"):
for component in inputs:
component.render()
if params:
with temp("Params"):
for component in params:
component.render()
if inputs:
with temp("Inputs"):
for component in inputs:
component.render()
if not params and not inputs:
gr.Text("No params or inputs")
with gr.Column():
with temp("Outputs"):
for component in outputs: