mirror of https://github.com/langgenius/dify.git
14 lines
306 B
Python
14 lines
306 B
Python
import sys
|
|
import os
|
|
|
|
# Add the current directory to sys.path
|
|
sys.path.append(os.getcwd())
|
|
|
|
try:
|
|
from core.workflow.workflow_entry import WorkflowEntry
|
|
print("Import successful!")
|
|
except ImportError as e:
|
|
print(f"Import failed: {e}")
|
|
except Exception as e:
|
|
print(f"An error occurred: {e}")
|