Spaces:
Runtime error
Runtime error
Commit
·
491d9dc
1
Parent(s):
fd729fa
ui
Browse files
app.py
CHANGED
@@ -104,9 +104,13 @@ button_stop = st.button('Stop')
|
|
104 |
|
105 |
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.")
|
106 |
|
|
|
|
|
|
|
|
|
107 |
if button_go:
|
108 |
-
|
109 |
-
|
110 |
|
111 |
count_low_res, count_high_res = 0, 0
|
112 |
times_low, times_high = [], []
|
@@ -148,3 +152,6 @@ if button_go:
|
|
148 |
|
149 |
if button_stop:
|
150 |
break
|
|
|
|
|
|
|
|
104 |
|
105 |
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.")
|
106 |
|
107 |
+
generating_marker = st.empty()
|
108 |
+
low_res = st.empty()
|
109 |
+
high_res = st.empty()
|
110 |
+
|
111 |
if button_go:
|
112 |
+
with generating_marker.container():
|
113 |
+
st.write('Generating...')
|
114 |
|
115 |
count_low_res, count_high_res = 0, 0
|
116 |
times_low, times_high = [], []
|
|
|
152 |
|
153 |
if button_stop:
|
154 |
break
|
155 |
+
|
156 |
+
with generating_marker.container():
|
157 |
+
st.write('')
|