Spaces:
Sleeping
Sleeping
import streamlit as st | |
radioButtonList = ["E-commerce CSV (https://www.kaggle.com/datasets/mervemenekse/ecommerce-dataset)", | |
"Upload my own CSV", | |
"Upload my own PDF", | |
"URL Chat with Google Alphabet's 2022 Q2 Earnings (https://shorturl.at/csCK3)", | |
"Enter my own URL (enable url input below)"] | |
genre = st.radio( | |
"Choose dataset to finetune", radioButtonList | |
) | |
if genre==radioButtonList[0]: | |
st.write('You selected comedy.') | |
else: | |
st.write("You didn\'t select comedy.") | |
isCustomURL = genre==radioButtonList[4] | |
title = st.text_input('Enter your own URL', 'Enter URL here', disabled=not isCustomURL) | |
st.write('The current movie title is', title) | |