Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,7 +258,7 @@ def update_image(filepath):
|
|
| 258 |
for f in filepath:
|
| 259 |
print(f)
|
| 260 |
|
| 261 |
-
return filepath[-1] ,
|
| 262 |
|
| 263 |
|
| 264 |
def update_button(filepath):
|
|
@@ -269,7 +269,7 @@ def update_button(filepath):
|
|
| 269 |
#b1 = gr.DownloadButton("Download masks as TIFF", visible=False)
|
| 270 |
#b2 = gr.DownloadButton("Download outline image as PNG", visible=False)
|
| 271 |
|
| 272 |
-
return [filepath] ,
|
| 273 |
|
| 274 |
with gr.Blocks(title = "Hello",
|
| 275 |
css=".gradio-container {background:purple;}") as demo:
|
|
|
|
| 258 |
for f in filepath:
|
| 259 |
print(f)
|
| 260 |
|
| 261 |
+
return filepath[-1] , '', ''
|
| 262 |
|
| 263 |
|
| 264 |
def update_button(filepath):
|
|
|
|
| 269 |
#b1 = gr.DownloadButton("Download masks as TIFF", visible=False)
|
| 270 |
#b2 = gr.DownloadButton("Download outline image as PNG", visible=False)
|
| 271 |
|
| 272 |
+
return [filepath] , '', ''
|
| 273 |
|
| 274 |
with gr.Blocks(title = "Hello",
|
| 275 |
css=".gradio-container {background:purple;}") as demo:
|