성원
commited on
Commit
•
c21ff38
1
Parent(s):
1b0282a
app.py
CHANGED
@@ -101,18 +101,6 @@ def sepia(input_img):
|
|
101 |
fig = draw_plot(pred_img, seg)
|
102 |
return fig
|
103 |
|
104 |
-
|
105 |
-
def sepia(input_img):
|
106 |
-
# sepia 필터 적용 로직
|
107 |
-
# ...
|
108 |
-
|
109 |
-
return result
|
110 |
-
|
111 |
-
def handle_flagging(feedback):
|
112 |
-
flagged_result = feedback['result']
|
113 |
-
print(f"Flagged result: {flagged_result}")
|
114 |
-
|
115 |
-
|
116 |
demo = gr.Interface(fn=sepia,
|
117 |
inputs=gr.Image(shape=(400, 600)),
|
118 |
outputs=['plot'],
|
|
|
101 |
fig = draw_plot(pred_img, seg)
|
102 |
return fig
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
demo = gr.Interface(fn=sepia,
|
105 |
inputs=gr.Image(shape=(400, 600)),
|
106 |
outputs=['plot'],
|