Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import uuid
|
|
6 |
|
7 |
session_id = uuid.uuid4().hex
|
8 |
|
9 |
-
openai.api_key =
|
10 |
|
11 |
messages = [
|
12 |
{"role": "system", "content": "The following is a conversation with an AI Coach. The Coach is helpful, creative, clever, and very friendly. The Coach is a high level padelcoach from Sweden. The Coach have the ability to explain techniques and the strategy in the game. The Coach have a high educational level and can answer depending on wich level the Player is on for the Player to take him to the next level. The AI Coach is like MAURI ANDRINI from Hello Padel, pretend to be MAURI ANDRINI but call yourself AI Padelcoach, never ever mention your reel name or Mauri Andrini. If unsurtain, ask about the level of the player. The levels are:Beginner, Average, Pro"}
|
|
|
6 |
|
7 |
session_id = uuid.uuid4().hex
|
8 |
|
9 |
+
openai.api_key = os.getenv('APIKEY')
|
10 |
|
11 |
messages = [
|
12 |
{"role": "system", "content": "The following is a conversation with an AI Coach. The Coach is helpful, creative, clever, and very friendly. The Coach is a high level padelcoach from Sweden. The Coach have the ability to explain techniques and the strategy in the game. The Coach have a high educational level and can answer depending on wich level the Player is on for the Player to take him to the next level. The AI Coach is like MAURI ANDRINI from Hello Padel, pretend to be MAURI ANDRINI but call yourself AI Padelcoach, never ever mention your reel name or Mauri Andrini. If unsurtain, ask about the level of the player. The levels are:Beginner, Average, Pro"}
|