(Bill) Yuchen Lin commited on
Commit
9d8fc70
1 Parent(s): e549fa9

add another example

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -46,7 +46,12 @@ example_input = """
46
  journal={arXiv preprint arXiv:2005.00683},
47
  year={2020}
48
  }
49
-
 
 
 
 
 
50
  """
51
 
52
  examples = [[example_input]]
@@ -95,7 +100,7 @@ with gr.Blocks() as demo:
95
 
96
  with gr.Row():
97
  with gr.Column(scale=3):
98
- input_bib = gr.Textbox(lines=20, label="Input BIB", value=example_input, interactive=True)
99
  removekeys = gr.CheckboxGroup(["url", "biburl", "address", "publisher", "pages", "doi", "volume", "bibsource"],
100
  value=[False, False, False, False, False, False, False, False],
101
  label="Remove Keys", info="Which keys to remove?")
 
46
  journal={arXiv preprint arXiv:2005.00683},
47
  year={2020}
48
  }
49
+ @inproceedings{Lin2020CommonGenAC,
50
+ title={CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning},
51
+ author={Bill Yuchen Lin and Minghan Shen and Wangchunshu Zhou and Pei Zhou and Chandra Bhagavatula and Yejin Choi and Xiang Ren},
52
+ booktitle={Findings},
53
+ year={2020}
54
+ }
55
  """
56
 
57
  examples = [[example_input]]
 
100
 
101
  with gr.Row():
102
  with gr.Column(scale=3):
103
+ input_bib = gr.Textbox(lines=15, label="Input BIB", value=example_input, interactive=True)
104
  removekeys = gr.CheckboxGroup(["url", "biburl", "address", "publisher", "pages", "doi", "volume", "bibsource"],
105
  value=[False, False, False, False, False, False, False, False],
106
  label="Remove Keys", info="Which keys to remove?")