Spaces:
Paused
Paused
Update gradio_app.py
Browse files- gradio_app.py +3 -3
gradio_app.py
CHANGED
@@ -213,15 +213,15 @@ def main():
|
|
213 |
|
214 |
""",
|
215 |
)
|
216 |
-
state = {
|
217 |
'latent': latent,
|
218 |
'noise': noise,
|
219 |
'F': F,
|
220 |
'sample': sample,
|
221 |
'history': []
|
222 |
-
}
|
223 |
points = {'target': [], 'handle': []}
|
224 |
-
size = 1024
|
225 |
|
226 |
with gr.Row():
|
227 |
with gr.Column(scale=0.3):
|
|
|
213 |
|
214 |
""",
|
215 |
)
|
216 |
+
state = gr.Sate({
|
217 |
'latent': latent,
|
218 |
'noise': noise,
|
219 |
'F': F,
|
220 |
'sample': sample,
|
221 |
'history': []
|
222 |
+
})
|
223 |
points = {'target': [], 'handle': []}
|
224 |
+
size = gr.State(1024)
|
225 |
|
226 |
with gr.Row():
|
227 |
with gr.Column(scale=0.3):
|