adrin commited on
Commit
75484fe
·
1 Parent(s): e4a35e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def convert(file):
9
  obj = joblib.load(in_file)
10
 
11
  if "." in in_file.name:
12
- out_file = in_file.name.split(".")[:-1]
13
  else:
14
  out_file = in_file.name
15
 
 
9
  obj = joblib.load(in_file)
10
 
11
  if "." in in_file.name:
12
+ out_file = ".".join(in_file.name.split(".")[:-1])
13
  else:
14
  out_file = in_file.name
15