Spaces:
Runtime error
Runtime error
iambravolee
commited on
Commit
•
b6ee827
1
Parent(s):
04b0933
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,11 @@ def image_classifier(image):
|
|
11 |
return results
|
12 |
|
13 |
title = "BurstPixel AI Image Detector"
|
|
|
|
|
|
|
|
|
14 |
|
15 |
|
16 |
-
demo = gr.Interface(fn=image_classifier, inputs=gr.Image(type="pil"), outputs="label", title=title)
|
17 |
demo.launch(show_api=False)
|
|
|
11 |
return results
|
12 |
|
13 |
title = "BurstPixel AI Image Detector"
|
14 |
+
description = """
|
15 |
+
Check whether an image was generated using AI.\n
|
16 |
+
NB: Anything below score 60 is AI not human
|
17 |
+
"""
|
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)
|