more docs, and default string value
Browse files
app.py
CHANGED
@@ -90,7 +90,11 @@ def custom_layout(input_components, output_components, citation):
|
|
90 |
iface = gr.Interface(
|
91 |
fn=process_input,
|
92 |
inputs=[
|
93 |
-
gr.Textbox(
|
|
|
|
|
|
|
|
|
94 |
*[
|
95 |
gr.Checkbox(label=dataset, value=(dataset in default_checked))
|
96 |
for dataset in dataset_es_map.keys()
|
@@ -108,6 +112,8 @@ iface = gr.Interface(
|
|
108 |
Access to the indices require an API key, due to the sensitive nature of the data, but can be accessed by filling up the following [form](https://forms.gle/Mk9uwJibR9H4hh9Y9).\\
|
109 |
This app was created by [Yanai Elazar](https://yanaiela.github.io/), and for bugs, improvements, or feature requests, please open an issue on the [GitHub repository](https://github.com/allenai/wimbd), or send me an email.
|
110 |
|
|
|
|
|
111 |
The returned counts are the number of documents that contain each string per dataset.""",
|
112 |
article=citation_text, # This adds the citation at the bottom
|
113 |
theme=custom_layout, # This uses our custom layout function
|
|
|
90 |
iface = gr.Interface(
|
91 |
fn=process_input,
|
92 |
inputs=[
|
93 |
+
gr.Textbox(
|
94 |
+
label="Enter phrases (one per line)",
|
95 |
+
lines=5,
|
96 |
+
value="let's think step by step\nhello world",
|
97 |
+
),
|
98 |
*[
|
99 |
gr.Checkbox(label=dataset, value=(dataset in default_checked))
|
100 |
for dataset in dataset_es_map.keys()
|
|
|
112 |
Access to the indices require an API key, due to the sensitive nature of the data, but can be accessed by filling up the following [form](https://forms.gle/Mk9uwJibR9H4hh9Y9).\\
|
113 |
This app was created by [Yanai Elazar](https://yanaiela.github.io/), and for bugs, improvements, or feature requests, please open an issue on the [GitHub repository](https://github.com/allenai/wimbd), or send me an email.
|
114 |
|
115 |
+
The indices were set up as part of the WIMBD project, which you can read about in our [ICLR paper](https://arxiv.org/abs/2310.20707).
|
116 |
+
|
117 |
The returned counts are the number of documents that contain each string per dataset.""",
|
118 |
article=citation_text, # This adds the citation at the bottom
|
119 |
theme=custom_layout, # This uses our custom layout function
|