Spaces:
Sleeping
Sleeping
Commit ·
cfabb85
1
Parent(s): 587269e
arrumado nome e descricao
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 🖼️
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Image-Classifier-AIvsHuman
|
| 3 |
emoji: 🖼️
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
app.py
CHANGED
|
@@ -40,13 +40,16 @@ exemplos = [
|
|
| 40 |
image_input = gr.Image()
|
| 41 |
label_output = gr.Label()
|
| 42 |
|
|
|
|
| 43 |
interface = gr.Interface(
|
| 44 |
fn=predict_image,
|
| 45 |
inputs=image_input,
|
| 46 |
outputs=label_output,
|
| 47 |
-
examples=exemplos
|
|
|
|
|
|
|
| 48 |
)
|
| 49 |
|
| 50 |
-
|
| 51 |
interface.launch(debug=True)
|
| 52 |
|
|
|
|
|
|
| 40 |
image_input = gr.Image()
|
| 41 |
label_output = gr.Label()
|
| 42 |
|
| 43 |
+
# Gradio Interface
|
| 44 |
interface = gr.Interface(
|
| 45 |
fn=predict_image,
|
| 46 |
inputs=image_input,
|
| 47 |
outputs=label_output,
|
| 48 |
+
examples=exemplos,
|
| 49 |
+
title="Image-Classifier-AIvsHuman",
|
| 50 |
+
description="Upload an image and the output will tell you whether it's potentially AI-generated or human-generated."
|
| 51 |
)
|
| 52 |
|
|
|
|
| 53 |
interface.launch(debug=True)
|
| 54 |
|
| 55 |
+
|