Spaces:
Sleeping
Sleeping
Commit ·
240b000
1
Parent(s): 3d9ff5c
Changed type to binary
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",preprocess=False),gr.File(label="dark file",preprocess=False)],
|
| 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",preprocess=False,type="binary"),gr.File(label="dark file",preprocess=False,type="binary")],
|
| 20 |
outputs=gr.outputs.File("peaks.npy"))
|
| 21 |
interface.launch()
|