VictorSanh commited on
Commit
252f296
β€’
1 Parent(s): 65966af
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -246,7 +246,7 @@ with gr.Blocks(title="Beat the AI", theme=gr.themes.Base(), css=css) as demo:
246
  inputs=[imagebox],
247
  outputs=[model_prediction],
248
  ).then(
249
- fn=lambda x, y, z: "πŸ₯‡" if x==y else f"πŸ’© The solution is {chr(ord('A') + int(z))}",
250
  inputs=[model_prediction, user_prediction, solution],
251
  outputs=[result],
252
  )
 
246
  inputs=[imagebox],
247
  outputs=[model_prediction],
248
  ).then(
249
+ fn=lambda x, y, z: "πŸ₯‡" if z==y else f"πŸ’© The solution is {chr(ord('A') + int(z))}",
250
  inputs=[model_prediction, user_prediction, solution],
251
  outputs=[result],
252
  )