Adityadn commited on
Commit
ae62ff9
·
verified ·
1 Parent(s): 9012843

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +1 -1
webui.py CHANGED
@@ -96,7 +96,7 @@ shared.gradio_root = gr.Blocks(
96
  css=modules.html.css).queue()
97
 
98
  with shared.gradio_root:
99
- currentTask = worker.AsyncTask(args=[])
100
  with gr.Row():
101
  with gr.Column(scale=2):
102
  with gr.Row():
 
96
  css=modules.html.css).queue()
97
 
98
  with shared.gradio_root:
99
+ currentTask = gr.State(worker.AsyncTask(args=[]))
100
  with gr.Row():
101
  with gr.Column(scale=2):
102
  with gr.Row():