File size: 651 Bytes
3a68c3f
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
---
title: FreePlay2API
emoji: 🚀
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
---
## How to Use

1.  **Set the API Key**: This application requires an API key for authentication. You need to set a secret environment variable named `API_KEY` in your Hugging Face Space settings. The value can be any string you choose.
2.  **Start the Application**: Once the environment variable is set, the application will start, and you can access the API.
3.  **Accessing the API**: The API will be available at the port specified in the Dockerfile (default is 7860). You can use the API key you set in the `Authorization` header as a Bearer token.