themeetjani commited on
Commit
68ed3e8
1 Parent(s): 3c56661

Update pages/Auto_Score_Generation.py

Browse files
Files changed (1) hide show
  1. pages/Auto_Score_Generation.py +1 -1
pages/Auto_Score_Generation.py CHANGED
@@ -26,7 +26,7 @@ def gpt4_score(m_answer, s_answer):
26
  frequency_penalty=0,
27
  presence_penalty=0
28
  )
29
- return json.loads(response.choices[0].message.content)
30
  st.write("# Auto Score Generation! 👋")
31
 
32
 
 
26
  frequency_penalty=0,
27
  presence_penalty=0
28
  )
29
+ return response.choices[0].message.content
30
  st.write("# Auto Score Generation! 👋")
31
 
32