rmayormartins commited on
Commit
cc5e526
·
1 Parent(s): 252534c

Subindo arquivos1772

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- # Caminho relativo para a imagem de exemplo
43
- example_image_path = "example1.jpg"
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=[[example_image_path]]
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__":