Spaces:
Sleeping
Sleeping
Kamran Zulfiqar
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -73,30 +73,8 @@ commands = [
|
|
73 |
},
|
74 |
{
|
75 |
"Command": "EXTEND",
|
76 |
-
"Description": "
|
77 |
-
"YouTube": "https://www.youtube.com/watch?v=EYYJSXruK4k"
|
78 |
-
},
|
79 |
-
{
|
80 |
-
"Command": "OFFSET",
|
81 |
-
"Description": "Creates concentric circles, parallel lines, and parallel curves.",
|
82 |
-
"YouTube": "https://www.youtube.com/watch?v=3AwYIjvQqek"
|
83 |
-
}
|
84 |
-
]
|
85 |
-
|
86 |
-
# Display in two columns
|
87 |
-
col1, col2 = st.columns(2)
|
88 |
|
89 |
-
for idx, cmd in enumerate(commands):
|
90 |
-
with (col1 if idx % 2 == 0 else col2):
|
91 |
-
st.markdown(f"""
|
92 |
-
<div class="command-box">
|
93 |
-
<div class="command-name">🛠️ {cmd['Command']}</div>
|
94 |
-
<div class="description">{cmd['Description']}</div>
|
95 |
-
<div class="youtube-link">
|
96 |
-
▶️ <a href="{cmd['YouTube']}" target="_blank">Watch on YouTube</a>
|
97 |
-
</div>
|
98 |
-
</div>
|
99 |
-
""", unsafe_allow_html=True)
|
100 |
``
|
101 |
|
102 |
|
|
|
73 |
},
|
74 |
{
|
75 |
"Command": "EXTEND",
|
76 |
+
"Description": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
``
|
79 |
|
80 |
|