Spaces:
Runtime error
Runtime error
Commit
·
3957af8
1
Parent(s):
876d9a1
dril
Browse files
app.py
CHANGED
@@ -79,7 +79,11 @@ def handler(text, ts1, ts2, gs1):
|
|
79 |
|
80 |
st.title('nostalgebraist-autoresponder image generation demo')
|
81 |
|
82 |
-
text = st.text_area('Enter your text here (or leave blank for a textless image)', max_chars=380)
|
|
|
|
|
|
|
|
|
83 |
|
84 |
help_ts1 = "How long to run the base model. Larger values make the image more realistic / better. Smaller values are faster."
|
85 |
help_ts2 = "How long to run the upsampling model. Larger values sometimes make the big image crisper and more detailed. Smaller values are faster."
|
@@ -93,7 +97,7 @@ gs1 = st.select_slider('Guidance scale (base)', [0.5*i for i in range(9)], value
|
|
93 |
button_go = st.button('Generate')
|
94 |
button_stop = st.button('Stop')
|
95 |
|
96 |
-
st.write("During generation, the two images show different ways of looking at the same process.\n
|
97 |
|
98 |
if button_go:
|
99 |
low_res = st.empty()
|
|
|
79 |
|
80 |
st.title('nostalgebraist-autoresponder image generation demo')
|
81 |
|
82 |
+
text = st.text_area('Enter your text here (or leave blank for a textless image)', max_chars=380, height=230)
|
83 |
+
|
84 |
+
button_dril = st.button('Fill @dril tweet example text')
|
85 |
+
if button_dril:
|
86 |
+
text.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'
|
87 |
|
88 |
help_ts1 = "How long to run the base model. Larger values make the image more realistic / better. Smaller values are faster."
|
89 |
help_ts2 = "How long to run the upsampling model. Larger values sometimes make the big image crisper and more detailed. Smaller values are faster."
|
|
|
97 |
button_go = st.button('Generate')
|
98 |
button_stop = st.button('Stop')
|
99 |
|
100 |
+
st.write("During generation, the two images show different ways of looking at the same process.\n- The left image starts with 100% noise and gradually turns into 100 signal.\n- The right image shows the model's current 'guess' about the left image will look like when all the noise has been removed.")
|
101 |
|
102 |
if button_go:
|
103 |
low_res = st.empty()
|