Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
st.markdown("""
|
4 |
+
|
5 |
+
# Component UI Tile Sizes for Optimal Display
|
6 |
+
|
7 |
+
Prompt on GPT-4:
|
8 |
+
```
|
9 |
+
Display a list of top ten table size proportions dividing a typical computer screen into 2,3,4,5,6 tiles supporting the tiles in a table with each iframe sized so total width and height add to 2560 x 1440 for HD computer displays.
|
10 |
+
|
11 |
+
# RLHF Feedback:
|
12 |
+
##👎GPT-4 Difference: Failed first time, submitted eval on fail. Tried again, different better outcome.
|
13 |
+
|
14 |
+
Right Answer:
|
15 |
+
|
16 |
+
Here is a list of top ten table size proportions for dividing a typical computer screen into 2, 3, 4, 5, and 6 tiles. Each iframe is sized so that the total width and height add up to 2560 x 1440 for HD computer displays:
|
17 |
+
|
18 |
+
...
|
19 |
+
These table size proportions provide various arrangements for dividing a typical HD computer display into multiple tiles. You can choose the most suitable layout based on your requirements and preferences.
|
20 |
+
|
21 |
+
Aaron Wacker
|
22 |
+
Show markdown code listing
|
23 |
+
|
24 |
+
```
|
25 |
+
1. 2 tiles (1x2):
|
26 |
+
- Tile 1: 1280 x 1440
|
27 |
+
- Tile 2: 1280 x 1440
|
28 |
+
|
29 |
+
2. 2 tiles (2x1):
|
30 |
+
- Tile 1: 2560 x 720
|
31 |
+
- Tile 2: 2560 x 720
|
32 |
+
|
33 |
+
3. 3 tiles (1x3):
|
34 |
+
- Tile 1: 853 x 1440
|
35 |
+
- Tile 2: 853 x 1440
|
36 |
+
- Tile 3: 854 x 1440
|
37 |
+
|
38 |
+
4. 3 tiles (3x1):
|
39 |
+
- Tile 1: 2560 x 480
|
40 |
+
- Tile 2: 2560 x 480
|
41 |
+
- Tile 3: 2560 x 480
|
42 |
+
|
43 |
+
5. 4 tiles (2x2):
|
44 |
+
- Tile 1: 1280 x 720
|
45 |
+
- Tile 2: 1280 x 720
|
46 |
+
- Tile 3: 1280 x 720
|
47 |
+
- Tile 4: 1280 x 720
|
48 |
+
|
49 |
+
6. 5 tiles (1x5):
|
50 |
+
- Tile 1: 512 x 1440
|
51 |
+
- Tile 2: 512 x 1440
|
52 |
+
- Tile 3: 512 x 1440
|
53 |
+
- Tile 4: 512 x 1440
|
54 |
+
- Tile 5: 512 x 1440
|
55 |
+
|
56 |
+
7. 5 tiles (5x1):
|
57 |
+
- Tile 1: 2560 x 288
|
58 |
+
- Tile 2: 2560 x 288
|
59 |
+
- Tile 3: 2560 x 288
|
60 |
+
- Tile 4: 2560 x 288
|
61 |
+
- Tile 5: 2560 x 288
|
62 |
+
|
63 |
+
8. 6 tiles (2x3):
|
64 |
+
- Tile 1: 1280 x 480
|
65 |
+
- Tile 2: 1280 x 480
|
66 |
+
- Tile 3: 1280 x 480
|
67 |
+
- Tile 4: 1280 x 480
|
68 |
+
- Tile 5: 1280 x 480
|
69 |
+
- Tile 6: 1280 x 480
|
70 |
+
|
71 |
+
9. 6 tiles (3x2):
|
72 |
+
- Tile 1: 853 x 720
|
73 |
+
- Tile 2: 853 x 720
|
74 |
+
- Tile 3: 854 x 720
|
75 |
+
- Tile 4: 853 x 720
|
76 |
+
- Tile 5: 853 x 720
|
77 |
+
- Tile 6: 854 x 720
|
78 |
+
|
79 |
+
10. 6 tiles (1x6):
|
80 |
+
- Tile 1: 426 x 1440
|
81 |
+
- Tile 2: 426 x 1440
|
82 |
+
- Tile 3: 426 x 1440
|
83 |
+
- Tile 4: 426 x 1440
|
84 |
+
- Tile 5: 426 x 1440
|
85 |
+
- Tile 6: 426 x 1440
|
86 |
+
|
87 |
+
#👍RLHF:
|
88 |
+
## Provide Additional Feedback : GPT-4 Got this right and did it differently second time after an eval about an error. Well done - very useful
|
89 |
+
|
90 |
+
""")
|