add default values
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def reshape_input(vec):
|
|
47 |
|
48 |
|
49 |
# inference fn
|
50 |
-
def predict(mseeds, waveforms, stations):
|
51 |
if len(stations) > 0:
|
52 |
stations = json.loads(stations)
|
53 |
print(f"{len(stations)}: {stations = }")
|
|
|
47 |
|
48 |
|
49 |
# inference fn
|
50 |
+
def predict(mseeds=[], waveforms="", stations=""):
|
51 |
if len(stations) > 0:
|
52 |
stations = json.loads(stations)
|
53 |
print(f"{len(stations)}: {stations = }")
|