Spaces:
Runtime error
Runtime error
Commit
·
6f24fdd
1
Parent(s):
cc02966
hmmmm
Browse files
app.py
CHANGED
@@ -80,12 +80,12 @@ def handler(text, ts1, ts2, gs1):
|
|
80 |
st.title('nostalgebraist-autoresponder image generation demo')
|
81 |
|
82 |
button_dril = st.button('Fill @dril tweet example text')
|
83 |
-
|
84 |
if button_dril:
|
85 |
-
|
86 |
|
87 |
text = st.text_area('Enter your text here (or leave blank for a textless image)', max_chars=380, height=230,
|
88 |
-
|
89 |
|
90 |
help_ts1 = "How long to run the base model. Larger values make the image more realistic / better. Smaller values are faster."
|
91 |
help_ts2 = "How long to run the upsampling model. Larger values sometimes make the big image crisper and more detailed. Smaller values are faster."
|
|
|
80 |
st.title('nostalgebraist-autoresponder image generation demo')
|
81 |
|
82 |
button_dril = st.button('Fill @dril tweet example text')
|
83 |
+
fill_value = ""
|
84 |
if button_dril:
|
85 |
+
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'
|
86 |
|
87 |
text = st.text_area('Enter your text here (or leave blank for a textless image)', max_chars=380, height=230,
|
88 |
+
value=fill_value)
|
89 |
|
90 |
help_ts1 = "How long to run the base model. Larger values make the image more realistic / better. Smaller values are faster."
|
91 |
help_ts2 = "How long to run the upsampling model. Larger values sometimes make the big image crisper and more detailed. Smaller values are faster."
|