Spaces:
Sleeping
Sleeping
mohammed3536
commited on
Update app.py
Browse files
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",
|