gospacedev commited on
Commit
faa52b1
1 Parent(s): e28a532

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -59,9 +59,7 @@ with gr.Blocks(title="Quizmona", theme=gr.themes.Default(primary_hue="green", se
59
  # One question with choices and answer is on average 57 tokens
60
  )
61
 
62
- filtered_response = response.choices[0].message.content
63
-
64
- output_json = json.loads(f"{filtered_response}")
65
 
66
  print(output_json)
67
 
 
59
  # One question with choices and answer is on average 57 tokens
60
  )
61
 
62
+ output_json = json.loads(f"{response}")
 
 
63
 
64
  print(output_json)
65