Omnibus commited on
Commit
391de58
·
1 Parent(s): 6fc4472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def aiornot1(image):
58
  AI: {px[1][0]}"""
59
  return gr.HTML.update(html_out)
60
  def aiornot2(image):
61
- labels = ["Real", "AI"]
62
  mod=models[2]
63
  feature_extractor2 = AutoFeatureExtractor.from_pretrained(mod)
64
  model2 = AutoModelForImageClassification.from_pretrained(mod)
 
58
  AI: {px[1][0]}"""
59
  return gr.HTML.update(html_out)
60
  def aiornot2(image):
61
+ labels = ["AI", "Real"]
62
  mod=models[2]
63
  feature_extractor2 = AutoFeatureExtractor.from_pretrained(mod)
64
  model2 = AutoModelForImageClassification.from_pretrained(mod)