fffiloni commited on
Commit
1f9040e
1 Parent(s): 4d45bdc

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. 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):