Edward J. Schwartz commited on
Commit
a41bb55
·
1 Parent(s): aa44a92
Files changed (1) hide show
  1. main.py +4 -3
main.py CHANGED
@@ -18,7 +18,7 @@ def new_binary(file):
18
 
19
  with gr.Blocks() as demo:
20
 
21
- all_dis_state = gr.State()
22
 
23
  gr.Markdown(
24
  """
@@ -27,7 +27,7 @@ with gr.Blocks() as demo:
27
  """
28
  )
29
 
30
- file_widget = gr.File(label="Binary file")
31
 
32
  def file_change_fn(file, progress=gr.Progress()):
33
 
@@ -35,7 +35,8 @@ with gr.Blocks() as demo:
35
  if file is None:
36
  return {
37
  #col: gr.update(visible=False),
38
- all_dis_state: None}
 
39
  else:
40
 
41
  #fun_data = {42: 2, 43: 3}
 
18
 
19
  with gr.Blocks() as demo:
20
 
21
+ #all_dis_state = gr.State()
22
 
23
  gr.Markdown(
24
  """
 
27
  """
28
  )
29
 
30
+ file_widget = gr.File(label="Executable file")
31
 
32
  def file_change_fn(file, progress=gr.Progress()):
33
 
 
35
  if file is None:
36
  return {
37
  #col: gr.update(visible=False),
38
+ #all_dis_state: None
39
+ }
40
  else:
41
 
42
  #fun_data = {42: 2, 43: 3}