Spaces:
Sleeping
Sleeping
Commit
·
0196312
1
Parent(s):
1206739
HarmonyView update
Browse files- .idea/workspace.xml +23 -7
- app.py +1 -1
.idea/workspace.xml
CHANGED
@@ -6,9 +6,6 @@
|
|
6 |
<component name="ChangeListManager">
|
7 |
<list default="true" id="a993d736-6297-4164-9c29-6b2ab1055a96" name="변경" comment="HarmonyView update">
|
8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
9 |
-
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
10 |
-
<change beforePath="$PROJECT_DIR$/hf_demo/examples/dragon.png" beforeDir="false" afterPath="$PROJECT_DIR$/hf_demo/examples/dragon.png" afterDir="false" />
|
11 |
-
<change beforePath="$PROJECT_DIR$/hf_demo/examples/table.png" beforeDir="false" afterPath="$PROJECT_DIR$/hf_demo/examples/table.png" afterDir="false" />
|
12 |
</list>
|
13 |
<option name="SHOW_DIALOG" value="false" />
|
14 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -35,7 +32,7 @@
|
|
35 |
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
36 |
"RunOnceActivity.ShowReadmeOnStart": "true",
|
37 |
"git-widget-placeholder": "main",
|
38 |
-
"last_opened_file_path": "/home/byeongjun/HarmonyView
|
39 |
}
|
40 |
}]]></component>
|
41 |
<component name="RecentsManager">
|
@@ -47,7 +44,7 @@
|
|
47 |
<component name="SharedIndexes">
|
48 |
<attachedChunks>
|
49 |
<set>
|
50 |
-
<option value="bundled-python-sdk-
|
51 |
</set>
|
52 |
</attachedChunks>
|
53 |
</component>
|
@@ -63,7 +60,10 @@
|
|
63 |
<workItem from="1703224127800" duration="3023000" />
|
64 |
<workItem from="1703644898438" duration="448000" />
|
65 |
<workItem from="1703677779702" duration="730000" />
|
66 |
-
<workItem from="1703731914758" duration="
|
|
|
|
|
|
|
67 |
</task>
|
68 |
<task id="LOCAL-00001" summary="error resolve">
|
69 |
<option name="closed" value="true" />
|
@@ -233,7 +233,23 @@
|
|
233 |
<option name="project" value="LOCAL" />
|
234 |
<updated>1703750375287</updated>
|
235 |
</task>
|
236 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
<servers />
|
238 |
</component>
|
239 |
<component name="Vcs.Log.Tabs.Properties">
|
|
|
6 |
<component name="ChangeListManager">
|
7 |
<list default="true" id="a993d736-6297-4164-9c29-6b2ab1055a96" name="변경" comment="HarmonyView update">
|
8 |
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
|
|
|
|
|
9 |
</list>
|
10 |
<option name="SHOW_DIALOG" value="false" />
|
11 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
32 |
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
33 |
"RunOnceActivity.ShowReadmeOnStart": "true",
|
34 |
"git-widget-placeholder": "main",
|
35 |
+
"last_opened_file_path": "/home/byeongjun/PycharmProjects/HarmonyView"
|
36 |
}
|
37 |
}]]></component>
|
38 |
<component name="RecentsManager">
|
|
|
44 |
<component name="SharedIndexes">
|
45 |
<attachedChunks>
|
46 |
<set>
|
47 |
+
<option value="bundled-python-sdk-5a2391486177-2887949eec09-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-233.13763.11" />
|
48 |
</set>
|
49 |
</attachedChunks>
|
50 |
</component>
|
|
|
60 |
<workItem from="1703224127800" duration="3023000" />
|
61 |
<workItem from="1703644898438" duration="448000" />
|
62 |
<workItem from="1703677779702" duration="730000" />
|
63 |
+
<workItem from="1703731914758" duration="18590000" />
|
64 |
+
<workItem from="1704106389325" duration="3000" />
|
65 |
+
<workItem from="1707152826665" duration="2000" />
|
66 |
+
<workItem from="1709009070011" duration="10000" />
|
67 |
</task>
|
68 |
<task id="LOCAL-00001" summary="error resolve">
|
69 |
<option name="closed" value="true" />
|
|
|
233 |
<option name="project" value="LOCAL" />
|
234 |
<updated>1703750375287</updated>
|
235 |
</task>
|
236 |
+
<task id="LOCAL-00022" summary="HarmonyView update">
|
237 |
+
<option name="closed" value="true" />
|
238 |
+
<created>1703752432531</created>
|
239 |
+
<option name="number" value="00022" />
|
240 |
+
<option name="presentableId" value="LOCAL-00022" />
|
241 |
+
<option name="project" value="LOCAL" />
|
242 |
+
<updated>1703752432531</updated>
|
243 |
+
</task>
|
244 |
+
<task id="LOCAL-00023" summary="HarmonyView update">
|
245 |
+
<option name="closed" value="true" />
|
246 |
+
<created>1703756550207</created>
|
247 |
+
<option name="number" value="00023" />
|
248 |
+
<option name="presentableId" value="LOCAL-00023" />
|
249 |
+
<option name="project" value="LOCAL" />
|
250 |
+
<updated>1703756550207</updated>
|
251 |
+
</task>
|
252 |
+
<option name="localTasksCounter" value="24" />
|
253 |
<servers />
|
254 |
</component>
|
255 |
<component name="Vcs.Log.Tabs.Properties">
|
app.py
CHANGED
@@ -193,7 +193,7 @@ def run_demo():
|
|
193 |
['hf_demo/examples/teapot.png',20,200,"SAM output"],
|
194 |
]
|
195 |
|
196 |
-
image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image',
|
197 |
elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle', interactive=True)
|
198 |
crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
|
199 |
background_removal = gr.Radio(["Input image", "SAM output"], label="Input to HarmonyView", info="Which image do you want for the input to HarmonyView?")
|
|
|
193 |
['hf_demo/examples/teapot.png',20,200,"SAM output"],
|
194 |
]
|
195 |
|
196 |
+
image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', interactive=True)
|
197 |
elevation = gr.Slider(-10, 40, 30, step=5, label='Elevation angle', interactive=True)
|
198 |
crop_size = gr.Slider(120, 240, 200, step=10, label='Crop size', interactive=True)
|
199 |
background_removal = gr.Radio(["Input image", "SAM output"], label="Input to HarmonyView", info="Which image do you want for the input to HarmonyView?")
|