aagoluoglu commited on
Commit
f96ad10
·
verified ·
1 Parent(s): 0791f7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def server(input: Inputs, output: Outputs, session: Session):
81
  img_src = uploaded_image_path()
82
  if img_src:
83
  dir = Path(__file__).resolve().parent
84
- img: ImgData = {"src": str(dir / uploaded_image_path()), "width": "100px"}
85
  return img
86
  else:
87
  return "" # Return an empty string if no image is uploaded
 
81
  img_src = uploaded_image_path()
82
  if img_src:
83
  dir = Path(__file__).resolve().parent
84
+ img: ImgData = {"src": str(dir / str(uploaded_image_path())), "width": "100px"}
85
  return img
86
  else:
87
  return "" # Return an empty string if no image is uploaded