Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,9 +142,9 @@ def update_with_example(filepath):
|
|
| 142 |
print('update_btn')
|
| 143 |
print(filepath)
|
| 144 |
filepath_show = filepath
|
| 145 |
-
fpath, fext = os.path.splitext(filepath)
|
| 146 |
|
| 147 |
-
filepath = filepath_show + '.tif'
|
| 148 |
|
| 149 |
return (filepath_show, [((5, 5, 10, 10), 'nothing')]), [filepath], (fp0, [((5, 5, 10, 10), 'nothing')])
|
| 150 |
|
|
|
|
| 142 |
print('update_btn')
|
| 143 |
print(filepath)
|
| 144 |
filepath_show = filepath
|
| 145 |
+
#fpath, fext = os.path.splitext(filepath)
|
| 146 |
|
| 147 |
+
#filepath = filepath_show + '.tif'
|
| 148 |
|
| 149 |
return (filepath_show, [((5, 5, 10, 10), 'nothing')]), [filepath], (fp0, [((5, 5, 10, 10), 'nothing')])
|
| 150 |
|