Spaces:
Runtime error
Runtime error
Jueri
commited on
Commit
•
e72b7e1
1
Parent(s):
15d2259
add examples
Browse files
app.py
CHANGED
@@ -81,6 +81,11 @@ iface = gr.Interface(
|
|
81 |
title="BibTeX cleaner",
|
82 |
description="Clean a BibTeX file or string by dragging the incomplete or broken BibTeX file into the file box or pasting a BibTeX string into the string field. The titles are extracted, searched at the DBLP, compiled into a clean BibTeX file.",
|
83 |
article="<p style='text-align: center'><a href='https://github.com/jueri/clean_bibtex'>CLI and repo</a></p>",
|
|
|
|
|
|
|
|
|
|
|
84 |
inputs=[
|
85 |
gr.inputs.Textbox(label="Paste a string here:", lines=1),
|
86 |
# gr.inputs.Checkbox(label="Keep original keys:"),
|
|
|
81 |
title="BibTeX cleaner",
|
82 |
description="Clean a BibTeX file or string by dragging the incomplete or broken BibTeX file into the file box or pasting a BibTeX string into the string field. The titles are extracted, searched at the DBLP, compiled into a clean BibTeX file.",
|
83 |
article="<p style='text-align: center'><a href='https://github.com/jueri/clean_bibtex'>CLI and repo</a></p>",
|
84 |
+
examples=["""@article{devlin2018bert,
|
85 |
+
title={Bert: Pre-training of deep bidirectional transformers for language understanding},
|
86 |
+
author={Devlin, and Chang, Ming-Wei and Lee, Kenton and Toutanova, Kristina},
|
87 |
+
year={2018}
|
88 |
+
}""", ""],
|
89 |
inputs=[
|
90 |
gr.inputs.Textbox(label="Paste a string here:", lines=1),
|
91 |
# gr.inputs.Checkbox(label="Keep original keys:"),
|