Apply sketch Gradio style to app.
Browse files
app.py
CHANGED
@@ -115,6 +115,6 @@ examples=[['cat.png', 'style 1'], ['bridge.png', 'style 1'], ['lizard.png', 'sty
|
|
115 |
|
116 |
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath'),
|
117 |
gr.inputs.Radio(['style 1','style 2'], type="value", default='style 1', label='version')],
|
118 |
-
gr.outputs.Image(type="pil"), title=title,description=description,examples=examples)
|
119 |
|
120 |
iface.launch()
|
|
|
115 |
|
116 |
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath'),
|
117 |
gr.inputs.Radio(['style 1','style 2'], type="value", default='style 1', label='version')],
|
118 |
+
gr.outputs.Image(type="pil"), title=title,description=description,examples=examples, theme='gstaff/sketch')
|
119 |
|
120 |
iface.launch()
|