poccio commited on
Commit
ddb3f9b
1 Parent(s): 22e4917

initial commit

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -12,9 +12,9 @@ from classy.utils.streamlit import get_md_200_random_color_generator
12
 
13
 
14
  def main(
15
- model_checkpoint_path: str,
16
- default_inventory_path: str,
17
- cuda_device: int,
18
  ):
19
  # setup examples
20
  examples = [
@@ -187,4 +187,8 @@ def main(
187
 
188
 
189
  if __name__ == "__main__":
190
- main("experiments/extend-longformer-large/2021-10-22/09-11-39/checkpoints/best.ckpt", "data/inventories/aida.tsv", cuda_device=-1)
 
 
 
 
 
12
 
13
 
14
  def main(
15
+ model_checkpoint_path: str,
16
+ default_inventory_path: str,
17
+ cuda_device: int,
18
  ):
19
  # setup examples
20
  examples = [
 
187
 
188
 
189
  if __name__ == "__main__":
190
+ main(
191
+ "experiments/extend-longformer-large/2021-10-22/09-11-39/checkpoints/best.ckpt",
192
+ "data/inventories/aida.tsv",
193
+ cuda_device=-1,
194
+ )