Spaces:
Build error
Build error
Nguyen Thai Thao Uyen
commited on
Commit
·
26112df
1
Parent(s):
8e17922
Shiny Hugging Face Space
Browse files
app.py
CHANGED
@@ -41,18 +41,6 @@ def server(input: Inputs, output: Outputs, session: Session):
|
|
41 |
img = {"src": src, "width": "500px"}
|
42 |
return img
|
43 |
return None
|
44 |
-
|
45 |
-
|
46 |
-
# @render.image
|
47 |
-
# def image_output():
|
48 |
-
# here = Path(__file__).parent
|
49 |
-
# if input.image_input():
|
50 |
-
# src = input.image_input()[0]['datapath']
|
51 |
-
# img = {"src": src, "width": "500px"}
|
52 |
-
# x = run.pred(src)
|
53 |
-
# print(x)
|
54 |
-
# return img
|
55 |
-
# return None
|
56 |
|
57 |
@output
|
58 |
@render.plot
|
|
|
41 |
img = {"src": src, "width": "500px"}
|
42 |
return img
|
43 |
return None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
@output
|
46 |
@render.plot
|