Spaces:
Runtime error
Runtime error
Commit
·
cc5e526
1
Parent(s):
252534c
Subindo arquivos1772
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ def image_inspector(uploaded_file):
|
|
39 |
formatted_details = "\n".join([f"{key}: {value}" for key, value in details.items()])
|
40 |
return formatted_details
|
41 |
|
42 |
-
|
43 |
-
|
44 |
|
45 |
iface = gr.Interface(
|
46 |
fn=image_inspector,
|
@@ -48,7 +48,7 @@ iface = gr.Interface(
|
|
48 |
outputs="text",
|
49 |
title="Inspetor de Imagem",
|
50 |
description="Faça o upload de uma imagem (.jpg, .png, .bmp, etc.) e veja detalhes sobre ela.",
|
51 |
-
examples=[[
|
52 |
)
|
53 |
|
54 |
if __name__ == "__main__":
|
|
|
39 |
formatted_details = "\n".join([f"{key}: {value}" for key, value in details.items()])
|
40 |
return formatted_details
|
41 |
|
42 |
+
|
43 |
+
|
44 |
|
45 |
iface = gr.Interface(
|
46 |
fn=image_inspector,
|
|
|
48 |
outputs="text",
|
49 |
title="Inspetor de Imagem",
|
50 |
description="Faça o upload de uma imagem (.jpg, .png, .bmp, etc.) e veja detalhes sobre ela.",
|
51 |
+
examples=[["example1.jpg"]]
|
52 |
)
|
53 |
|
54 |
if __name__ == "__main__":
|