Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ def create_file():
|
|
11 |
|
12 |
# إنشاء ملف ONNX تجريبي في حالة عدم وجوده
|
13 |
if not os.path.exists(file_path):
|
14 |
-
with open(file_path, "w") as file:
|
15 |
-
file.write("This is a test ONNX model file.")
|
16 |
-
|
17 |
# إرجاع مسار الملف حتى يمكن تنزيله
|
18 |
return file_path
|
19 |
class OnnxModelConverter:
|
|
|
11 |
|
12 |
# إنشاء ملف ONNX تجريبي في حالة عدم وجوده
|
13 |
if not os.path.exists(file_path):
|
14 |
+
#with open(file_path, "w") as file:
|
15 |
+
#file.write("This is a test ONNX model file.")
|
16 |
+
return "nnnn.gg"
|
17 |
# إرجاع مسار الملف حتى يمكن تنزيله
|
18 |
return file_path
|
19 |
class OnnxModelConverter:
|