Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -188,11 +188,7 @@ title="Example images"
|
|
188 |
examples=[
|
189 |
['01_NOR_Kratzer_4sp-720x340.jpg', 'Scratch']
|
190 |
|
191 |
-
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath'),
|
192 |
-
gr.inputs.Radio(['Complex Lines','Simple Lines'], type="value", default='Simple Lines', label='version')],
|
193 |
-
gr.outputs.Image(type="pil"), title=title,examples=examples)
|
194 |
|
195 |
-
iface.launch()
|
196 |
|
197 |
with gr.Blocks() as demo:
|
198 |
with gr.Row():
|
|
|
188 |
examples=[
|
189 |
['01_NOR_Kratzer_4sp-720x340.jpg', 'Scratch']
|
190 |
|
|
|
|
|
|
|
191 |
|
|
|
192 |
|
193 |
with gr.Blocks() as demo:
|
194 |
with gr.Row():
|