ai >>> AI Generated

#1
by lunarflu HF staff - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def main(img):
27
  if predictions[0][0] > confidence:
28
  class_label = 'real'
29
  else:
30
- class_label = 'ai'
31
 
32
  # Clean up the temporary image file
33
  os.remove(img_path)
 
27
  if predictions[0][0] > confidence:
28
  class_label = 'real'
29
  else:
30
+ class_label = 'AI Generated'
31
 
32
  # Clean up the temporary image file
33
  os.remove(img_path)