Spaces:
Sleeping
Sleeping
Commit
·
7bbf0c5
1
Parent(s):
49c8ed4
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,8 @@ st.markdown("""
|
|
14 |
|
15 |
# Set org ID and API key
|
16 |
openai.api_key = os.environ['TOKEN']
|
17 |
-
|
|
|
18 |
|
19 |
# Set context
|
20 |
context_tutor = """You are playing the role of a tutor named Mary. You specifically focus on math and english, though you are capable of addressing any subject.
|
|
|
14 |
|
15 |
# Set org ID and API key
|
16 |
openai.api_key = os.environ['TOKEN']
|
17 |
+
# Set org ID and API key
|
18 |
+
LEN_CONVERSATION = 10 # How many times each chatbot speaks
|
19 |
|
20 |
# Set context
|
21 |
context_tutor = """You are playing the role of a tutor named Mary. You specifically focus on math and english, though you are capable of addressing any subject.
|