Spaces:
Running
Running
ArrcttacsrjksX
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -67,4 +67,9 @@ def main():
|
|
67 |
demo.launch()
|
68 |
|
69 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
70 |
main()
|
|
|
67 |
demo.launch()
|
68 |
|
69 |
if __name__ == "__main__":
|
70 |
+
try:
|
71 |
+
subprocess.run(['chmod', '+x', './SimpleImageToDxfHavePass'], check=True)
|
72 |
+
except subprocess.CalledProcessError as e:
|
73 |
+
print(f"Error setting permissions: {e}")
|
74 |
+
exit(1)
|
75 |
main()
|