zhuwq0 commited on
Commit
82d1974
·
1 Parent(s): 34dbcc7

add default values

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = }")