Thomas Chardonnens
commited on
Commit
·
499ab24
1
Parent(s):
a82273f
Add image input
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
def
|
| 4 |
-
|
|
|
|
| 5 |
|
| 6 |
-
demo = gr.Interface(fn=
|
| 7 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
def check_image(image):
|
| 4 |
+
# Placeholder logic - replace with actual image processing
|
| 5 |
+
return True # or False based on your criteria
|
| 6 |
|
| 7 |
+
demo = gr.Interface(fn=check_image, inputs="image", outputs="boolean")
|
| 8 |
demo.launch()
|