Giter Site home page Giter Site logo

Comments (6)

stevenlee87 avatar stevenlee87 commented on July 23, 2024 1

@erbanku ok. I get it. Thank you again!

from speechgpt.

erbanku avatar erbanku commented on July 23, 2024

To deploy the service on Vercel, you only need to supply the VITE_OPENAI_API_KEY (or provide none of these when deploying and fill it in after deploying in website settings.).
The OpenAI Host is for direct access if your network environment is unable to connect to api.openai.com due to government-imposed firewalls.
Azure-related keys are required for utilizing Azure TTS and speech recognition services, while AWS-related keys are necessary for using the Amazon Polly TTS service.

from speechgpt.

stevenlee87 avatar stevenlee87 commented on July 23, 2024

To deploy the service on Vercel, you only need to supply the VITE_OPENAI_API_KEY (or provide none of these when deploying and fill it in after deploying in website settings.). The OpenAI Host is for direct access if your network environment is unable to connect to api.openai.com due to government-imposed firewalls. Azure-related keys are required for utilizing Azure TTS and speech recognition services, while AWS-related keys are necessary for using the Amazon Polly TTS service.

@erbanku thank you for your answer.

The deploy button cannot be clicked if nothing is filled in during deployment. The message "missing" will be displayed
image

And then except the VITE_OPENAI_API_KEY parameter I filled in some random parameters, then deployed them, and didn't automatically reply to me. I do not know why.
image

from speechgpt.

erbanku avatar erbanku commented on July 23, 2024

Please try this

Deploying with Vercel

Deploy with Vercel

In this case you only need to provide the OpenAI API key when deploying
image

from speechgpt.

stevenlee87 avatar stevenlee87 commented on July 23, 2024

Please try this

Deploying with Vercel

Deploy with Vercel

In this case you only need to provide the OpenAI API key when deploying image

@erbanku thank you very much! this vercel deploy is good.

Why is this project's vercel deploy faulty? (https://github.com/hahahumble/speechgpt )

from speechgpt.

erbanku avatar erbanku commented on July 23, 2024

Actually, the Vercel Deploy button is a link like the ones below.

Project's Vercel deploy button:

https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhahahumble%2Fspeechgpt&env=VITE_OPENAI_API_KEY,VITE_OPENAI_HOST,VITE_AWS_REGION,VITE_AWS_ACCESS_KEY_ID,VITE_AWS_ACCESS_KEY,VITE_AZURE_REGION,VITE_AZURE_KEY&envDescription=If%20you%20do%20not%20want%20to%20provide%20a%20value%2C%20use%20REPLACE_WITH_YOUR_OWN.&project-name=speechgpt&repository-name=speechgpt

Modified Vercel deploy button:

https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhahahumble%2Fspeechgpt&env=VITE_OPENAI_API_KEY&envDescription=If%20you%20do%20not%20want%20to%20provide%20a%20value%2C%20use%20REPLACE_WITH_YOUR_OWN.&project-name=speechgpt&repository-name=speechgpt

Ass you can see the original one requires other environment variables, and it's must, not optional, you can bypass this by deleting the other required environment variables in the link.

from speechgpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.