Spaces:
Sleeping
Sleeping
fix: orig_name attr does not exist
Browse files
app.py
CHANGED
@@ -30,9 +30,9 @@ def create_temp_file(path: str) -> str:
|
|
30 |
return temp_path
|
31 |
|
32 |
|
33 |
-
def main(property: str, data_file:
|
34 |
|
35 |
-
print(data_file, data_file.
|
36 |
|
37 |
if data_file is None:
|
38 |
raise TypeError("You have to pass either an input file for the crystal model")
|
|
|
30 |
return temp_path
|
31 |
|
32 |
|
33 |
+
def main(property: str, data_file: str):
|
34 |
|
35 |
+
print(data_file, data_file.name)
|
36 |
|
37 |
if data_file is None:
|
38 |
raise TypeError("You have to pass either an input file for the crystal model")
|