Spaces:
Runtime error
Runtime error
Update app_2.py
Browse files
app_2.py
CHANGED
|
@@ -1251,9 +1251,9 @@ with block:
|
|
| 1251 |
return image
|
| 1252 |
|
| 1253 |
run_button.click(
|
| 1254 |
-
|
| 1255 |
-
|
| 1256 |
-
|
| 1257 |
fn=infer,
|
| 1258 |
inputs=[
|
| 1259 |
text_prompt,
|
|
|
|
| 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,
|