spaces-demo / README.md
system's picture
system HF staff
initial commit
5ca70de
|
raw
history blame
1.27 kB
metadata
title: Spaces Demo
emoji: πŸŒ–
colorFrom: green
colorTo: yellow
sdk: gradio
app_file: app.py
pinned: false

Configuration

title: string Display title for the Space

emoji: string Space emoji (emoji-only character allowed)

colorFrom: string Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)

colorTo: string Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)

sdk: string Can be either gradio, streamlit, or static

sdk_version : string Only applicable for streamlit SDK.
See doc for more info on supported versions.

app_file: string Path to your main application file (which contains either gradio or streamlit Python code, or static html code). Path is relative to the root of the repository.

models: List[string] HF model IDs (like "gpt2" or "deepset/roberta-base-squad2") used in the Space. Will be parsed automatically from your code if not specified here.

datasets: List[string] HF dataset IDs (like "common_voice" or "oscar-corpus/OSCAR-2109") used in the Space. Will be parsed automatically from your code if not specified here.

pinned: boolean Whether the Space stays on top of your list.