faizee07 commited on
Commit
7ace366
·
verified ·
1 Parent(s): b1a05f9

Create test_local.py

Browse files
Files changed (1) hide show
  1. test_local.py +17 -0
test_local.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # test_local.py
2
+ import os
3
+ os.environ['OPENROUTER_API_KEY'] = 'your-api-key-here'
4
+
5
+ from app import create_ui_design
6
+
7
+ # Test single page
8
+ result = create_ui_design(
9
+ "Create a landing page for a tech startup",
10
+ os.environ['OPENROUTER_API_KEY']
11
+ )
12
+
13
+ # Test multi-page
14
+ result = create_ui_design(
15
+ "Create 3 pages: landing, about, contact",
16
+ os.environ['OPENROUTER_API_KEY']
17
+ )