Spaces:
Runtime error
Runtime error
Commit
·
7fd7245
1
Parent(s):
12981b8
hmmmmm
Browse files
app.py
CHANGED
|
@@ -93,12 +93,13 @@ st.header('Prompt')
|
|
| 93 |
|
| 94 |
button_dril = st.button('Fill @dril tweet example text')
|
| 95 |
|
|
|
|
|
|
|
|
|
|
| 96 |
if 'fill_value' in st.session_state:
|
| 97 |
fill_value = st.session_state.fill_value
|
| 98 |
else:
|
| 99 |
fill_value = ""
|
| 100 |
-
if button_dril:
|
| 101 |
-
fill_value = 'wint\nFollowing\n@dril\nthe wise man bowed his head solemnly and\nspoke: "theres actually zero difference\nbetween good & bad things. you imbecile.\nyou fucking moron'
|
| 102 |
st.session_state.fill_value = fill_value
|
| 103 |
|
| 104 |
text = st.text_area('Enter your text here (or leave blank for a textless image)', max_chars=380, height=230,
|
|
|
|
| 93 |
|
| 94 |
button_dril = st.button('Fill @dril tweet example text')
|
| 95 |
|
| 96 |
+
if button_dril:
|
| 97 |
+
st.session_state.fill_value = 'wint\nFollowing\n@dril\nthe wise man bowed his head solemnly and\nspoke: "theres actually zero difference\nbetween good & bad things. you imbecile.\nyou fucking moron'
|
| 98 |
+
|
| 99 |
if 'fill_value' in st.session_state:
|
| 100 |
fill_value = st.session_state.fill_value
|
| 101 |
else:
|
| 102 |
fill_value = ""
|
|
|
|
|
|
|
| 103 |
st.session_state.fill_value = fill_value
|
| 104 |
|
| 105 |
text = st.text_area('Enter your text here (or leave blank for a textless image)', max_chars=380, height=230,
|