random opera
To upload files, please first save the app
import random
import streamlit as st
st.title("Random Opera Selector")
# List of opera names
operas = [
"La Traviata",
"Carmen",
"The Marriage of Figaro",
"Aida",
"Madama Butterfly",
"Tosca",
"The Magic Flute",
"Rigoletto",
"Don Giovanni",
"The Barber of Seville"
]
# Randomly select an opera
selected_opera = random.choice(operas)
st.write("Today's Random Opera Selection:")
st.write(selected_opera)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?