markytools commited on
Commit
63e083c
·
1 Parent(s): 6a1c9b8
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,10 +9,11 @@ genre = st.radio(
9
  "Choose dataset to finetune", radioButtonList
10
  )
11
 
12
- if genre ==radioButtonList[0]:
13
  st.write('You selected comedy.')
14
  else:
15
  st.write("You didn\'t select comedy.")
16
 
17
- title = st.text_input('Movie title', 'Life of Brian')
 
18
  st.write('The current movie title is', title)
 
9
  "Choose dataset to finetune", radioButtonList
10
  )
11
 
12
+ if genre==radioButtonList[0]:
13
  st.write('You selected comedy.')
14
  else:
15
  st.write("You didn\'t select comedy.")
16
 
17
+ isCustomURL = genre==radioButtonList[4]
18
+ title = st.text_input('Enter your own URL', 'Enter URL here', disabled=not isCustomURL)
19
  st.write('The current movie title is', title)