File size: 659 Bytes
7d849d3
 
9830b8e
 
 
 
 
b16e227
9830b8e
 
b16e227
63e083c
b16e227
 
 
6a1c9b8
63e083c
 
6a1c9b8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)