Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,9 @@ class OnnxModelConverter:
|
|
23 |
|
24 |
def download_file(self,file_path):
|
25 |
if not os.path.exists(file_path):
|
26 |
-
with open(file_path, "w") as file:
|
27 |
-
file.write("This is a test ONNX model.")
|
|
|
28 |
return file_path
|
29 |
|
30 |
|
|
|
23 |
|
24 |
def download_file(self,file_path):
|
25 |
if not os.path.exists(file_path):
|
26 |
+
#with open(file_path, "w") as file:
|
27 |
+
#file.write("This is a test ONNX model.")
|
28 |
+
return None
|
29 |
return file_path
|
30 |
|
31 |
|