- Add InferencePipeline: Multi-stage inference orchestrator with thread-safe queue management - Add Multidongle: Hardware abstraction layer for Kneron NPU devices - Add comprehensive UI framework with node-based pipeline editor - Add performance estimation and monitoring capabilities - Add extensive documentation and examples - Update project structure and dependencies 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
Simple test script to verify UI functionality
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
|
|
# Add the current directory to the path
|
|
sys.path.insert(0, os.path.dirname(__file__))
|
|
|
|
from PyQt5.QtWidgets import QApplication
|
|
from UI import DashboardLogin
|
|
|
|
def main():
|
|
app = QApplication(sys.argv)
|
|
|
|
# Create and show the dashboard
|
|
dashboard = DashboardLogin()
|
|
dashboard.show()
|
|
|
|
print("✅ UI Application Started Successfully!")
|
|
print("📋 Available buttons on main screen:")
|
|
print(" 1. 🚀 Create New Pipeline")
|
|
print(" 2. 📁 Open Existing Pipeline")
|
|
print(" 3. ⚙️ Configure Stages & Deploy")
|
|
print()
|
|
print("🎯 Click the third button 'Configure Stages & Deploy' to test the new workflow!")
|
|
print(" This will open the Stage Configuration dialog with:")
|
|
print(" • Dongle allocation controls")
|
|
print(" • Performance estimation")
|
|
print(" • Save & Deploy functionality")
|
|
print()
|
|
print("Press Ctrl+C or close the window to exit")
|
|
|
|
# Run the application
|
|
sys.exit(app.exec_())
|
|
|
|
if __name__ == "__main__":
|
|
main() |