Spaces:
Runtime error
Runtime error
app.py
CHANGED
|
@@ -9,6 +9,7 @@ demo_inf_lama = gr.Interface.load(name="spaces/CVPR/lama-example") #gr.Blocks.l
|
|
| 9 |
|
| 10 |
def get_lama(img1, img2):
|
| 11 |
out = demo_inf_lama(img1, img2, "automatic (U2net)")
|
|
|
|
| 12 |
|
| 13 |
#def txt_fun(txt1, txt2):
|
| 14 |
# return demo_inf(txt1, txt2)
|
|
|
|
| 9 |
|
| 10 |
def get_lama(img1, img2):
|
| 11 |
out = demo_inf_lama(img1, img2, "automatic (U2net)")
|
| 12 |
+
return out
|
| 13 |
|
| 14 |
#def txt_fun(txt1, txt2):
|
| 15 |
# return demo_inf(txt1, txt2)
|