Spaces:
Sleeping
Sleeping
byeongjun-park
commited on
Commit
·
b8eb5c1
1
Parent(s):
98975c0
HarmonyView update
Browse files- .idea/workspace.xml +26 -2
- app.py +1 -1
.idea/workspace.xml
CHANGED
@@ -60,7 +60,7 @@
|
|
60 |
<workItem from="1703224127800" duration="3023000" />
|
61 |
<workItem from="1703644898438" duration="448000" />
|
62 |
<workItem from="1703677779702" duration="730000" />
|
63 |
-
<workItem from="1703731914758" duration="
|
64 |
</task>
|
65 |
<task id="LOCAL-00001" summary="error resolve">
|
66 |
<option name="closed" value="true" />
|
@@ -166,7 +166,31 @@
|
|
166 |
<option name="project" value="LOCAL" />
|
167 |
<updated>1703677831151</updated>
|
168 |
</task>
|
169 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
<servers />
|
171 |
</component>
|
172 |
<component name="Vcs.Log.Tabs.Properties">
|
|
|
60 |
<workItem from="1703224127800" duration="3023000" />
|
61 |
<workItem from="1703644898438" duration="448000" />
|
62 |
<workItem from="1703677779702" duration="730000" />
|
63 |
+
<workItem from="1703731914758" duration="9751000" />
|
64 |
</task>
|
65 |
<task id="LOCAL-00001" summary="error resolve">
|
66 |
<option name="closed" value="true" />
|
|
|
166 |
<option name="project" value="LOCAL" />
|
167 |
<updated>1703677831151</updated>
|
168 |
</task>
|
169 |
+
<task id="LOCAL-00014" summary="HarmonyView update">
|
170 |
+
<option name="closed" value="true" />
|
171 |
+
<created>1703745157564</created>
|
172 |
+
<option name="number" value="00014" />
|
173 |
+
<option name="presentableId" value="LOCAL-00014" />
|
174 |
+
<option name="project" value="LOCAL" />
|
175 |
+
<updated>1703745157564</updated>
|
176 |
+
</task>
|
177 |
+
<task id="LOCAL-00015" summary="HarmonyView update">
|
178 |
+
<option name="closed" value="true" />
|
179 |
+
<created>1703745288485</created>
|
180 |
+
<option name="number" value="00015" />
|
181 |
+
<option name="presentableId" value="LOCAL-00015" />
|
182 |
+
<option name="project" value="LOCAL" />
|
183 |
+
<updated>1703745288485</updated>
|
184 |
+
</task>
|
185 |
+
<task id="LOCAL-00016" summary="HarmonyView update">
|
186 |
+
<option name="closed" value="true" />
|
187 |
+
<created>1703745776443</created>
|
188 |
+
<option name="number" value="00016" />
|
189 |
+
<option name="presentableId" value="LOCAL-00016" />
|
190 |
+
<option name="project" value="LOCAL" />
|
191 |
+
<updated>1703745776443</updated>
|
192 |
+
</task>
|
193 |
+
<option name="localTasksCounter" value="17" />
|
194 |
<servers />
|
195 |
</component>
|
196 |
<component name="Vcs.Log.Tabs.Properties">
|
app.py
CHANGED
@@ -193,7 +193,7 @@ def run_demo():
|
|
193 |
image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)
|
194 |
elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle of the input image', interactive=True)
|
195 |
crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
|
196 |
-
background_removal = gr.
|
197 |
|
198 |
# Compose demo layout & data flow.
|
199 |
with gr.Blocks(title=_TITLE, css="hf_demo/style.css") as demo:
|
|
|
193 |
image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)
|
194 |
elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle of the input image', interactive=True)
|
195 |
crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
|
196 |
+
background_removal = gr.Radio(["Original Image", "SAM Output"], value=["SAM Output"], label="Input to HarmonyView", info="Which image do you want for the input?")
|
197 |
|
198 |
# Compose demo layout & data flow.
|
199 |
with gr.Blocks(title=_TITLE, css="hf_demo/style.css") as demo:
|