update
Browse files
app.py
CHANGED
|
@@ -217,7 +217,7 @@ def rmbg(image, url):
|
|
| 217 |
return image
|
| 218 |
|
| 219 |
|
| 220 |
-
def placeholder(img):
|
| 221 |
return img
|
| 222 |
|
| 223 |
|
|
@@ -226,7 +226,7 @@ rmbg_tab = gr.Interface(
|
|
| 226 |
)
|
| 227 |
|
| 228 |
outpaint_tab = gr.Interface(
|
| 229 |
-
fn=placeholder, inputs=["image"], outputs=["image"], api_name="outpainting"
|
| 230 |
)
|
| 231 |
|
| 232 |
demo = gr.TabbedInterface(
|
|
|
|
| 217 |
return image
|
| 218 |
|
| 219 |
|
| 220 |
+
def placeholder(img,*args):
|
| 221 |
return img
|
| 222 |
|
| 223 |
|
|
|
|
| 226 |
)
|
| 227 |
|
| 228 |
outpaint_tab = gr.Interface(
|
| 229 |
+
fn=placeholder, inputs=["image","text",gr.Dropdown(["down","up","left","right","middle"])], outputs=["image"], api_name="outpainting"
|
| 230 |
)
|
| 231 |
|
| 232 |
demo = gr.TabbedInterface(
|