Spaces:
Sleeping
Sleeping
Arnab Das
commited on
Commit
·
24f6c93
1
Parent(s):
b65af55
bug fix
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ def process(filepath):
|
|
| 12 |
global manpulate_config
|
| 13 |
out = infere(manipulate_model, filepath, manpulate_config)
|
| 14 |
out = out.tolist()
|
|
|
|
| 15 |
plt.plot(out)
|
| 16 |
out_masked = np.ma.masked_less_equal(out, 0.4)
|
| 17 |
plt.plot(out_masked, 'r', linewidth=2)
|
|
|
|
| 12 |
global manpulate_config
|
| 13 |
out = infere(manipulate_model, filepath, manpulate_config)
|
| 14 |
out = out.tolist()
|
| 15 |
+
plt.figure()
|
| 16 |
plt.plot(out)
|
| 17 |
out_masked = np.ma.masked_less_equal(out, 0.4)
|
| 18 |
plt.plot(out_masked, 'r', linewidth=2)
|