haonanzhang
commited on
Commit
•
10e4e44
1
Parent(s):
53b4111
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from pydub import AudioSegment
|
|
7 |
load_dotenv()
|
8 |
|
9 |
#accessing openapi Key
|
10 |
-
openai.api_key =
|
11 |
|
12 |
audio_messages = [{"role": "system", "content": 'You are an AI assistant expert. Respond to all input in precise, crisp and easy to understand language.'}]
|
13 |
text_messages = [{"role": "system", "content": 'You are an AI assistant expert. Respond to all input in precise, crisp and easy to understand language.'}]
|
|
|
7 |
load_dotenv()
|
8 |
|
9 |
#accessing openapi Key
|
10 |
+
openai.api_key = "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"
|
11 |
|
12 |
audio_messages = [{"role": "system", "content": 'You are an AI assistant expert. Respond to all input in precise, crisp and easy to understand language.'}]
|
13 |
text_messages = [{"role": "system", "content": 'You are an AI assistant expert. Respond to all input in precise, crisp and easy to understand language.'}]
|