File size: 1,198 Bytes
430e4dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import streamlit as st

# Main title
st.title("Unlocking PyTorch with Prompt-Engineering")

# Data for the series
content = [
    {
        "title": "Unlocking PyTorch with Prompt-Engineering, Part 1",
        "video": "https://youtu.be/B0zagZ23edI",
        "slides": "https://www.linkedin.com/pulse/unlocking-pytorch-prompt-engineering-part-1-michael-lively-ndi3e/?trackingId=wxu34JyZQ%2BeiYfxDI5sMoQ%3D%3D"
    },
    {
        "title": "Unlocking PyTorch with Prompt-Engineering, Part 2",
        "video": "https://youtu.be/KgayiqAlyag",
        "slides": "https://www.linkedin.com/pulse/unlocking-pytorch-prompt-engineering-part-2-michael-lively-ekute/?trackingId=wxu34JyZQ%2BeiYfxDI5sMoQ%3D%3D"
    },
    {
        "title": "Unlocking PyTorch with Prompt-Engineering, Part 3",
        "video": "https://youtu.be/HwvOiso6Fl0",
        "slides": "https://www.linkedin.com/pulse/unlocking-pytorch-prompt-engineering-part-3-resnet-gans-lively-zswte/?trackingId=iMJVnOGTSwuh5RdOuaxQ7A%3D%3D"
    }
]

for part in content:
    st.header(part["title"])
    st.video(part["video"])
    st.markdown(f"[Slides]({part['slides']})")

# To run the app, use the command: streamlit run your_script_name.py