Spaces:
Running
Running
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 | |