dindizz commited on
Commit
8b021d7
·
verified ·
1 Parent(s): c62c31b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def create_flashcards(content):
28
  response = openai.chat.completions.create(
29
  model="gpt-3.5-turbo",
30
  messages=[
31
- {"role": "system", "content": "You are a helpful assistant for UPSC exam preparation."},
32
  {"role": "user", "content": prompt}
33
  ],
34
  max_tokens=500,
 
28
  response = openai.chat.completions.create(
29
  model="gpt-3.5-turbo",
30
  messages=[
31
+ {"role": "system", "content": "You are a helpful assistant for UPSC exam preparation and will create useful flash cards when a news URL is given as input,The flash card should include category that the topic belongs to aswell."},
32
  {"role": "user", "content": prompt}
33
  ],
34
  max_tokens=500,