Spaces:
Sleeping
Sleeping
Commit
·
8d07928
1
Parent(s):
240b000
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,6 @@ def generate_frames(ffile,dfile):
|
|
16 |
np.save("normalized_patches.npy",normalized_patches)
|
17 |
return normalized_patches
|
18 |
|
19 |
-
interface=gr.Interface(fn=generate_frames, inputs=[gr.File(label="frame file",
|
20 |
outputs=gr.outputs.File("peaks.npy"))
|
21 |
interface.launch()
|
|
|
16 |
np.save("normalized_patches.npy",normalized_patches)
|
17 |
return normalized_patches
|
18 |
|
19 |
+
interface=gr.Interface(fn=generate_frames, inputs=[gr.File(label="frame file",type="binary"),gr.File(label="dark file",type="binary")],
|
20 |
outputs=gr.outputs.File("peaks.npy"))
|
21 |
interface.launch()
|