Spaces:
Runtime error
Runtime error
import gradio as gr | |
title = "Scientific Title Generator" | |
description = "Gradio demo for Scientific Title Generator. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." | |
article = "<p style='text-align: center'><a href='https://huggingface.co/AryanLala/autonlp-Scientific_Title_Generator-34558227' target='_blank'>Huggingface Model</a></p>" | |
gr.Interface.load("huggingface/AryanLala/autonlp-Scientific_Title_Generator-34558227",inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title, | |
description=description, | |
article=article, | |
examples=[ | |
["""The scale, variety, and quantity of publicly-available NLP datasets has grown rapidly as researchers propose new tasks, larger models, and novel benchmarks. Datasets is a community library for contemporary NLP designed to support this ecosystem. Datasets aims to standardize end-user interfaces, versioning, and documentation, while providing a lightweight front-end that behaves similarly for small datasets as for internet-scale corpora. The design of the library incorporates a distributed, community-driven approach to adding datasets and documenting usage. After a year of development, the library now includes more than 650 unique datasets, has more than 250 contributors, and has helped support a variety of novel cross-dataset research projects and shared tasks. The library is available at https://github.com/huggingface/datasets."""] | |
]).launch() |