Spaces:
Running
on
Zero
Running
on
Zero
Update app_2.py
Browse files
app_2.py
CHANGED
@@ -1251,12 +1251,13 @@ with block:
|
|
1251 |
return image
|
1252 |
|
1253 |
run_button.click(
|
1254 |
-
fn=convert_to_pil,
|
1255 |
-
inputs=extracted_fg,
|
1256 |
-
outputs=angles_fg).then(
|
1257 |
-
fn=infer,
|
|
|
1258 |
text_prompt,
|
1259 |
-
|
1260 |
],
|
1261 |
outputs=[orientation_result],
|
1262 |
)
|
|
|
1251 |
return image
|
1252 |
|
1253 |
run_button.click(
|
1254 |
+
#fn=convert_to_pil,
|
1255 |
+
#inputs=extracted_fg,
|
1256 |
+
#outputs=angles_fg).then(
|
1257 |
+
fn=infer,
|
1258 |
+
inputs=[
|
1259 |
text_prompt,
|
1260 |
+
extracted_fg,
|
1261 |
],
|
1262 |
outputs=[orientation_result],
|
1263 |
)
|