Spaces:
Runtime error
Runtime error
freemt commited on
Commit ·
5b95475
1
Parent(s): 248e9e8
Update
Browse files- radiobee/__main__.py +1 -1
- radiobee/gradiobee.py +14 -0
radiobee/__main__.py
CHANGED
|
@@ -496,7 +496,7 @@ if __name__ == "__main__":
|
|
| 496 |
title=f"radiobee-dev {__version__} 🔠",
|
| 497 |
description=description,
|
| 498 |
article=article,
|
| 499 |
-
examples=examples, # this somehow causes trouble on hf spaces
|
| 500 |
# examples_per_page=5,
|
| 501 |
# theme="darkgrass",
|
| 502 |
# theme="grass",
|
|
|
|
| 496 |
title=f"radiobee-dev {__version__} 🔠",
|
| 497 |
description=description,
|
| 498 |
article=article,
|
| 499 |
+
# examples=examples, # this somehow causes trouble on hf spaces
|
| 500 |
# examples_per_page=5,
|
| 501 |
# theme="darkgrass",
|
| 502 |
# theme="grass",
|
radiobee/gradiobee.py
CHANGED
|
@@ -98,6 +98,20 @@ def gradiobee( # noqa
|
|
| 98 |
"""Process inputs and return outputs."""
|
| 99 |
logger.debug(" *debug* ")
|
| 100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
# possible further switchse
|
| 102 |
# para_sent: para/sent
|
| 103 |
# sent_ali: default/radio/gale-church
|
|
|
|
| 98 |
"""Process inputs and return outputs."""
|
| 99 |
logger.debug(" *debug* ")
|
| 100 |
|
| 101 |
+
inputs = [file1,
|
| 102 |
+
file2,
|
| 103 |
+
tf_type,
|
| 104 |
+
idf_type,
|
| 105 |
+
dl_type,
|
| 106 |
+
norm,
|
| 107 |
+
eps,
|
| 108 |
+
min_samples,
|
| 109 |
+
# debug=False,
|
| 110 |
+
sent_ali_algo,
|
| 111 |
+
]
|
| 112 |
+
ic(inputs)
|
| 113 |
+
ic(*map(type, inputs))
|
| 114 |
+
|
| 115 |
# possible further switchse
|
| 116 |
# para_sent: para/sent
|
| 117 |
# sent_ali: default/radio/gale-church
|