Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,6 +80,7 @@ def execute_script():
|
|
| 80 |
except FileNotFoundError:
|
| 81 |
return "ANSYS executable not found. Verify the path in ansys_command."
|
| 82 |
|
|
|
|
| 83 |
def get_generated_images():
|
| 84 |
"""Return the generated 2D and 3D view images if they exist."""
|
| 85 |
if os.path.exists("2D_View.jpg") and os.path.exists("3D_View.jpg"):
|
|
|
|
| 80 |
except FileNotFoundError:
|
| 81 |
return "ANSYS executable not found. Verify the path in ansys_command."
|
| 82 |
|
| 83 |
+
|
| 84 |
def get_generated_images():
|
| 85 |
"""Return the generated 2D and 3D view images if they exist."""
|
| 86 |
if os.path.exists("2D_View.jpg") and os.path.exists("3D_View.jpg"):
|