Spaces:
Runtime error
Runtime error
jhj0517 commited on
Commit ·
919f44d
1
Parent(s): 3ab496b
Update path
Browse files
app.py
CHANGED
|
@@ -141,7 +141,7 @@ class App:
|
|
| 141 |
|
| 142 |
btn_generate.click(fn=self.sam_inf.divide_layer,
|
| 143 |
inputs=input_params, outputs=[gallery_output, output_file])
|
| 144 |
-
btn_open_folder.click(fn=lambda: open_folder(
|
| 145 |
inputs=None, outputs=None)
|
| 146 |
dd_input_modes.change(fn=self.on_mode_change,
|
| 147 |
inputs=[dd_input_modes],
|
|
@@ -203,7 +203,9 @@ class App:
|
|
| 203 |
btn_generate.click(fn=self.sam_inf.create_filtered_video,
|
| 204 |
inputs=preview_params,
|
| 205 |
outputs=[vid_output, output_file])
|
| 206 |
-
btn_open_folder.click(fn=lambda: open_folder(
|
|
|
|
|
|
|
| 207 |
|
| 208 |
self.demo.queue().launch(
|
| 209 |
inbrowser=self.args.inbrowser,
|
|
|
|
| 141 |
|
| 142 |
btn_generate.click(fn=self.sam_inf.divide_layer,
|
| 143 |
inputs=input_params, outputs=[gallery_output, output_file])
|
| 144 |
+
btn_open_folder.click(fn=lambda: open_folder(os.path.join(self.args.output_dir, "psd")),
|
| 145 |
inputs=None, outputs=None)
|
| 146 |
dd_input_modes.change(fn=self.on_mode_change,
|
| 147 |
inputs=[dd_input_modes],
|
|
|
|
| 203 |
btn_generate.click(fn=self.sam_inf.create_filtered_video,
|
| 204 |
inputs=preview_params,
|
| 205 |
outputs=[vid_output, output_file])
|
| 206 |
+
btn_open_folder.click(fn=lambda: open_folder(os.path.join(self.args.output_dir, "filter")),
|
| 207 |
+
inputs=None,
|
| 208 |
+
outputs=None)
|
| 209 |
|
| 210 |
self.demo.queue().launch(
|
| 211 |
inbrowser=self.args.inbrowser,
|