Ahsen Khaliq commited on
Commit
654c824
1 Parent(s): 97dae0a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ title = "Scientific Title Generator"
3
+ 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."
4
+ article = "<p style='text-align: center'><a href='https://huggingface.co/AryanLala/autonlp-Scientific_Title_Generator-34558227' target='_blank'>Huggingface Model</a></p>"
5
+ gr.Interface.load("huggingface/AryanLala/autonlp-Scientific_Title_Generator-34558227",title=title,
6
+ description=description,
7
+ article=article,
8
+ examples=[
9
+ ["""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."""]
10
+ ]).launch()