Spaces:
Sleeping
Sleeping
Commit
·
63e083c
1
Parent(s):
6a1c9b8
message
Browse files
app.py
CHANGED
|
@@ -9,10 +9,11 @@ genre = st.radio(
|
|
| 9 |
"Choose dataset to finetune", radioButtonList
|
| 10 |
)
|
| 11 |
|
| 12 |
-
if genre
|
| 13 |
st.write('You selected comedy.')
|
| 14 |
else:
|
| 15 |
st.write("You didn\'t select comedy.")
|
| 16 |
|
| 17 |
-
|
|
|
|
| 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)
|