Phantom3306 commited on
Commit
a05c769
1 Parent(s): 3d1f75e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -10,12 +10,9 @@ def image_classifier(image):
10
  results[result['label']] = result['score']
11
  return results
12
 
13
- title = "Maybe's AI Art Detector"
14
  description = """
15
- This app is a proof-of-concept demonstration of using a ViT model to predict whether an artistic image was generated using AI.\n
16
- For more information please see the blog post describing it at:
17
- https://medium.com/@matthewmaybe/can-an-ai-learn-to-identify-ai-art-545d9d6af226
18
- """
19
 
20
  demo = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", title=title, description=description)
21
  demo.launch(show_api=False)
 
10
  results[result['label']] = result['score']
11
  return results
12
 
13
+ title = "AI Image Detector"
14
  description = """
15
+ This app is a proof-of-concept demonstration of using a ViT model to predict whether an image was generated using AI."""
 
 
 
16
 
17
  demo = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", title=title, description=description)
18
  demo.launch(show_api=False)