Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def server(input: Inputs, output: Outputs, session: Session):
|
|
78 |
from pathlib import Path
|
79 |
|
80 |
dir = Path(__file__).resolve().parent
|
81 |
-
img: ImgData = {"src": str(
|
82 |
return img
|
83 |
|
84 |
# @output
|
|
|
78 |
from pathlib import Path
|
79 |
|
80 |
dir = Path(__file__).resolve().parent
|
81 |
+
img: ImgData = {"src": str(dir / uploaded_image_path()), "width": "100px"}
|
82 |
return img
|
83 |
|
84 |
# @output
|