tregu0458 commited on
Commit
f8d462b
·
verified ·
1 Parent(s): 5218b8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -3,7 +3,6 @@ from openai import OpenAI
3
  from pathlib import Path
4
 
5
  def generate_audio(text, api_key):
6
- set_api_key(api_key)
7
  client = OpenAI(api_key=api_key)
8
  speech_file_path = Path(__file__).parent / "speech.mp3"
9
 
 
3
  from pathlib import Path
4
 
5
  def generate_audio(text, api_key):
 
6
  client = OpenAI(api_key=api_key)
7
  speech_file_path = Path(__file__).parent / "speech.mp3"
8