eternalBlissard commited on
Commit
4f5cc0d
·
verified ·
1 Parent(s): 7e5f231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- val = None
4
  def respond(newVal):
5
  global val
6
  if(val is None):
 
1
  import gradio as gr
2
 
3
+ val = gr.State(None)
4
  def respond(newVal):
5
  global val
6
  if(val is None):