Download app.py from SergeyO7/datasets: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/SergeyO7/datasets/resolve/main/app.py
- Command line
-
hf download hf://spaces/SergeyO7/datasets/app.py
-
curl -L -o app.py https://huggingface.co/spaces/SergeyO7/datasets/resolve/main/app.py
325 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch() | |
| from datasets import load_dataset_builder | |
| ds_builder = load_dataset_builder("cornell-movie-review-data/rotten_tomatoes") | |
| ds_builder.info.description | |
| ds_builder.info.features |