Spaces:
Build error
Build error
Clean functions
Browse files- .idea/workspace.xml +2 -4
- app.py +1 -1
.idea/workspace.xml
CHANGED
@@ -4,9 +4,7 @@
|
|
4 |
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
</component>
|
6 |
<component name="ChangeListManager">
|
7 |
-
<list default="true" id="3cb50146-66c1-4999-864a-398a7d42ffa4" name="Changes" comment=""
|
8 |
-
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
9 |
-
</list>
|
10 |
<option name="SHOW_DIALOG" value="false" />
|
11 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
12 |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
@@ -46,7 +44,7 @@
|
|
46 |
<option name="number" value="Default" />
|
47 |
<option name="presentableId" value="Default" />
|
48 |
<updated>1677222707113</updated>
|
49 |
-
<workItem from="1677222708286" duration="
|
50 |
</task>
|
51 |
<servers />
|
52 |
</component>
|
|
|
4 |
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
</component>
|
6 |
<component name="ChangeListManager">
|
7 |
+
<list default="true" id="3cb50146-66c1-4999-864a-398a7d42ffa4" name="Changes" comment="" />
|
|
|
|
|
8 |
<option name="SHOW_DIALOG" value="false" />
|
9 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10 |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
|
44 |
<option name="number" value="Default" />
|
45 |
<option name="presentableId" value="Default" />
|
46 |
<updated>1677222707113</updated>
|
47 |
+
<workItem from="1677222708286" duration="5601000" />
|
48 |
</task>
|
49 |
<servers />
|
50 |
</component>
|
app.py
CHANGED
@@ -108,7 +108,7 @@ with block:
|
|
108 |
|
109 |
with gr.Column():
|
110 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=2, height='auto')
|
111 |
-
ips = [input_image, prompt, input_control,
|
112 |
run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
|
113 |
|
114 |
|
|
|
108 |
|
109 |
with gr.Column():
|
110 |
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery").style(grid=2, height='auto')
|
111 |
+
ips = [input_image, prompt, input_control, num_samples, image_resolution, ddim_steps, scale, seed, eta, low_threshold, high_threshold]
|
112 |
run_button.click(fn=process, inputs=ips, outputs=[result_gallery])
|
113 |
|
114 |
|