aagoluoglu commited on
Commit
b5d0536
·
verified ·
1 Parent(s): a0fadfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def server(input: Inputs, output: Outputs, session: Session):
59
  def uploaded_image_path() -> str:
60
  """Returns the path to the uploaded image"""
61
  if input.tile_image() is not None:
62
- return input.tile_image()[0].datapath # Assuming multiple=False
63
  else:
64
  return "" # No image uploaded
65
 
 
59
  def uploaded_image_path() -> str:
60
  """Returns the path to the uploaded image"""
61
  if input.tile_image() is not None:
62
+ return input.tile_image()[0]['datapath'] # Assuming multiple=False
63
  else:
64
  return "" # No image uploaded
65