Spaces:
Runtime error
Runtime error
Commit
Β·
c1af0d8
1
Parent(s):
2aaac66
formatting
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def create_dataset_to_arxiv_id_dict():
|
|
72 |
return dataset_to_arxiv_id
|
73 |
|
74 |
|
75 |
-
|
76 |
|
77 |
|
78 |
def group_collection_items(collection_slug: str):
|
@@ -111,10 +111,12 @@ def get_papers_for_collection(collection_slug: str):
|
|
111 |
],
|
112 |
}
|
113 |
model_papers[model.item_id] = data
|
114 |
-
return {"
|
115 |
|
116 |
|
117 |
-
|
118 |
-
slug_input = gr.Textbox(
|
|
|
|
|
119 |
|
120 |
gr.Interface(get_papers_for_collection, slug_input, "json").launch()
|
|
|
72 |
return dataset_to_arxiv_id
|
73 |
|
74 |
|
75 |
+
placeholder_url = "lunarflu/ai-podcasts-and-talks-65119866353a60593bf99c58"
|
76 |
|
77 |
|
78 |
def group_collection_items(collection_slug: str):
|
|
|
111 |
],
|
112 |
}
|
113 |
model_papers[model.item_id] = data
|
114 |
+
return {"dataset papers": dataset_papers, "model papers": model_papers}
|
115 |
|
116 |
|
117 |
+
placeholder_url = "HF-IA-archiving/models-to-archive-65006a7fdadb8c628f33aac9"
|
118 |
+
slug_input = gr.Textbox(
|
119 |
+
placeholder=placeholder_url, interactive=True, label="Collection slug", max_lines=1
|
120 |
+
)
|
121 |
|
122 |
gr.Interface(get_papers_for_collection, slug_input, "json").launch()
|