Spaces:
Sleeping
Sleeping
ArrcttacsrjksX
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ logging.basicConfig(
|
|
18 |
logger = logging.getLogger(__name__)
|
19 |
|
20 |
class ImageToDxfConverter:
|
21 |
-
def __init__(self, executable_path: str = "./
|
22 |
"""Initialize the converter with configuration."""
|
23 |
self.executable_path = Path(executable_path)
|
24 |
self.hf_token = os.getenv("HF_TOKEN")
|
@@ -249,7 +249,7 @@ def main():
|
|
249 |
"""Main entry point with proper error handling."""
|
250 |
try:
|
251 |
# Ensure executable permissions
|
252 |
-
executable = Path("./
|
253 |
if executable.exists():
|
254 |
executable.chmod(0o755)
|
255 |
|
|
|
18 |
logger = logging.getLogger(__name__)
|
19 |
|
20 |
class ImageToDxfConverter:
|
21 |
+
def __init__(self, executable_path: str = "./SimpleImageToDxfHavePass"):
|
22 |
"""Initialize the converter with configuration."""
|
23 |
self.executable_path = Path(executable_path)
|
24 |
self.hf_token = os.getenv("HF_TOKEN")
|
|
|
249 |
"""Main entry point with proper error handling."""
|
250 |
try:
|
251 |
# Ensure executable permissions
|
252 |
+
executable = Path("./SimpleImageToDxfHavePass")
|
253 |
if executable.exists():
|
254 |
executable.chmod(0o755)
|
255 |
|