abreza commited on
Commit
9ae872c
1 Parent(s): 44f6fd9
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -66,6 +66,11 @@ def create_app():
66
  file_types=[".npy"]
67
  )
68
 
 
 
 
 
 
69
  with gr.Row():
70
  visualize_btn = gr.Button("Visualize")
71
  visualize_btn.click(
@@ -77,11 +82,6 @@ def create_app():
77
  with gr.Row():
78
  et_viewer = Rerun(streaming=False)
79
 
80
- def process_et_files(traj_file, char_file):
81
- if traj_file is None or char_file is None:
82
- return None
83
- return visualize_et_data(traj_file.name, char_file.name)
84
-
85
  return demo
86
 
87
 
 
66
  file_types=[".npy"]
67
  )
68
 
69
+ def process_et_files(traj_file, char_file):
70
+ if traj_file is None or char_file is None:
71
+ return None
72
+ return visualize_et_data(traj_file.name, char_file.name)
73
+
74
  with gr.Row():
75
  visualize_btn = gr.Button("Visualize")
76
  visualize_btn.click(
 
82
  with gr.Row():
83
  et_viewer = Rerun(streaming=False)
84
 
 
 
 
 
 
85
  return demo
86
 
87