upload phasenet
Browse files- pipeline.py +2 -1
pipeline.py
CHANGED
|
@@ -59,7 +59,8 @@ class PreTrainedPipeline():
|
|
| 59 |
|
| 60 |
# picks = [{k: v for k, v in pick.items() if k in ["station_id", "phase_time", "phase_score", "phase_type", "dt"]} for pick in picks]
|
| 61 |
|
| 62 |
-
return picks
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
if __name__ == "__main__":
|
|
|
|
| 59 |
|
| 60 |
# picks = [{k: v for k, v in pick.items() if k in ["station_id", "phase_time", "phase_score", "phase_type", "dt"]} for pick in picks]
|
| 61 |
|
| 62 |
+
# return picks
|
| 63 |
+
return [[{"label": "debug", "score": 0.1}]]
|
| 64 |
|
| 65 |
|
| 66 |
if __name__ == "__main__":
|