Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -45,6 +45,7 @@ async def getQuestions(job_description: str, no_of_questions: int):
|
|
| 45 |
result = response.choices[0].message.content
|
| 46 |
# Parse the JSON data
|
| 47 |
parsed_data = json.loads(result)
|
|
|
|
| 48 |
parsed_data = convert_format(parsed_data)
|
| 49 |
|
| 50 |
return parsed_data
|
|
|
|
| 45 |
result = response.choices[0].message.content
|
| 46 |
# Parse the JSON data
|
| 47 |
parsed_data = json.loads(result)
|
| 48 |
+
print(parsed_data)
|
| 49 |
parsed_data = convert_format(parsed_data)
|
| 50 |
|
| 51 |
return parsed_data
|