Spaces:
Running
on
Zero
Running
on
Zero
fix issues
Browse files
app.py
CHANGED
@@ -66,14 +66,6 @@ def create_app():
|
|
66 |
file_types=[".npy"]
|
67 |
)
|
68 |
|
69 |
-
with gr.Row():
|
70 |
-
visualize_btn = gr.Button("Visualize")
|
71 |
-
visualize_btn.click(
|
72 |
-
process_et_files,
|
73 |
-
inputs=[traj_file, char_file],
|
74 |
-
outputs=[et_viewer]
|
75 |
-
)
|
76 |
-
|
77 |
with gr.Row():
|
78 |
et_viewer = Rerun(streaming=False)
|
79 |
|
@@ -82,6 +74,14 @@ def create_app():
|
|
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 |
with gr.Row():
|
70 |
et_viewer = Rerun(streaming=False)
|
71 |
|
|
|
74 |
return None
|
75 |
return visualize_et_data(traj_file.name, char_file.name)
|
76 |
|
77 |
+
with gr.Row():
|
78 |
+
visualize_btn = gr.Button("Visualize")
|
79 |
+
visualize_btn.click(
|
80 |
+
process_et_files,
|
81 |
+
inputs=[traj_file, char_file],
|
82 |
+
outputs=[et_viewer]
|
83 |
+
)
|
84 |
+
|
85 |
return demo
|
86 |
|
87 |
|