From 9d8896b14b355cfd75288c9a3e2705a87cd0b778 Mon Sep 17 00:00:00 2001 From: Michael Louis Date: Tue, 22 Oct 2024 13:25:00 -0400 Subject: [PATCH] Added serverless API --- examples/serverless-api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/serverless-api/README.md b/examples/serverless-api/README.md index 3c0fba1..ecad320 100644 --- a/examples/serverless-api/README.md +++ b/examples/serverless-api/README.md @@ -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 @@ -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 ' \