dindizz commited on
Commit
da7c0ca
·
verified ·
1 Parent(s): 9073f6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def scrape_content(url):
25
  def create_flashcards(content):
26
  prompt = f"Create flashcards for UPSC exam preparation from the following content:\n\n{content}\n\n"
27
 
28
- response = openai.ChatCompletion.create(
29
  model="gpt-3.5-turbo",
30
  messages=[
31
  {"role": "system", "content": "You are a helpful assistant for UPSC exam preparation."},
 
25
  def create_flashcards(content):
26
  prompt = f"Create flashcards for UPSC exam preparation from the following content:\n\n{content}\n\n"
27
 
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."},