mohammed3536 commited on
Commit
1fe91ac
1 Parent(s): aa1786a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -42,6 +42,9 @@ def generate_question_with_chatgpt(context):
42
  "Authorization": f"Bearer {OPENAI_API_KEY}",
43
  }
44
 
 
 
 
45
 
46
  data = {
47
  "model": "gpt-3.5-turbo",
 
42
  "Authorization": f"Bearer {OPENAI_API_KEY}",
43
  }
44
 
45
+ #Initializing the default value
46
+ generated_question = "Unable to generate a question.."
47
+
48
 
49
  data = {
50
  "model": "gpt-3.5-turbo",