From 375a0e37d28f5b4b38509af48bb5613d52b72f93 Mon Sep 17 00:00:00 2001 From: autonomouscereal <154469132+autonomouscereal@users.noreply.github.com> Date: Thu, 18 Jan 2024 00:26:17 -0700 Subject: [PATCH] Update client.py fixed gr.Image().style to gr.Image(height=512) --- .../Part_6-building_complex_pipelines/gui/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Conceptual_Guide/Part_6-building_complex_pipelines/gui/client.py b/Conceptual_Guide/Part_6-building_complex_pipelines/gui/client.py index cda0f856..257697b4 100644 --- a/Conceptual_Guide/Part_6-building_complex_pipelines/gui/client.py +++ b/Conceptual_Guide/Part_6-building_complex_pipelines/gui/client.py @@ -60,7 +60,7 @@ def generate(prompt): with gr.Blocks() as app: prompt = gr.Textbox(label="Prompt") submit_btn = gr.Button("Generate") - img_output = gr.Image().style(height=512) + img_output = gr.Image(height=512) submit_btn.click(fn=generate, inputs=prompt, outputs=img_output) app.launch(server_name="0.0.0.0")