Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ def convert(file):
|
|
13 |
else:
|
14 |
out_file = in_file.name
|
15 |
|
16 |
-
out_file += ".skops"
|
17 |
-
_, fname = tempfile.mkstemp(suffix=out_file)
|
18 |
sio.dump(obj, fname)
|
19 |
return fname
|
20 |
|
|
|
13 |
else:
|
14 |
out_file = in_file.name
|
15 |
|
16 |
+
out_file += ".skops.foo.bar"
|
17 |
+
_, fname = tempfile.mkstemp(suffix="-" + out_file)
|
18 |
sio.dump(obj, fname)
|
19 |
return fname
|
20 |
|