Karin0616
commited on
Commit
•
1937e4b
1
Parent(s):
0334589
block test
Browse files
app.py
CHANGED
@@ -102,21 +102,7 @@ def sepia(input_img):
|
|
102 |
|
103 |
fig = draw_plot(pred_img, seg)
|
104 |
return fig
|
105 |
-
|
106 |
-
demo = gr.Interface(fn=sepia,
|
107 |
-
inputs=gr.Image(shape=(564,846)),
|
108 |
-
outputs=['plot'],
|
109 |
-
live=True,
|
110 |
-
examples=["city1.jpg","city2.jpg","city3.jpg"],
|
111 |
-
allow_flagging='never',
|
112 |
-
title="This is a machine learning activity project at Kyunggi University.",
|
113 |
-
theme="darkpeach",
|
114 |
-
css="""
|
115 |
-
|
116 |
-
"""
|
117 |
-
|
118 |
-
)
|
119 |
-
"""
|
120 |
with gr.Blocks() as demo:
|
121 |
|
122 |
|
|
|
102 |
|
103 |
fig = draw_plot(pred_img, seg)
|
104 |
return fig
|
105 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
with gr.Blocks() as demo:
|
107 |
|
108 |
|