Skip to content

Commit

Permalink
Added serverless API
Browse files Browse the repository at this point in the history
  • Loading branch information
milo157 committed Oct 22, 2024
1 parent 2018772 commit 9d8896b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/serverless-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This project demonstrates how to run Edge TTS as a serverless API using [Cerebri

## Overview

The `main.py` file contains a function `run` that takes a text input and an optional voice parameter to generate audio and subtitles using Edge TTS.
The `main.py` file contains a function `run` that takes a text input and an optional voice parameter to generate audio and subtitles using Edge TTS. This example specifically streams the output.

## Installation

Expand All @@ -14,7 +14,7 @@ The `main.py` file contains a function `run` that takes a text input and an opti

## Usage

Once deployed, you should be able to make a curl request similar to:
Once deployed, you should be able to make a curl request similar to the below. You can find this url on your Cerebrium dashboard.
```
curl --location 'https://api.cortex.cerebrium.ai/v4/p-xxxxxx/serverless-api/run' \
--header 'Authorization: Bearer <AUTH_TOKEN>' \
Expand Down

0 comments on commit 9d8896b

Please sign in to comment.