Ashrafb commited on
Commit
4cdfb69
·
verified ·
1 Parent(s): fa01649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -63,12 +63,11 @@ title = "<span style='color: #191970;'>Aiconvert.online</span>"
63
 
64
  gr.Interface(
65
  app,
66
- gr.inputs.Image(type="pil", label="Input"),
67
-
68
- gr.Image(type="pil", label="Output", show_share_button=False),
69
  title=title,
70
  css="footer{display:none !important;}",
71
  theme=gr.themes.Base(),
72
  enable_queue=True,
73
  allow_flagging=False
74
- ).launch()
 
63
 
64
  gr.Interface(
65
  app,
66
+ inputs=[gr.Image(type="pil", label="Input"), gr.Dropdown(["Artistic", "Stable"], label="Model")],
67
+ output=gr.Image(type="pil", label="Output", show_share_button=False),
 
68
  title=title,
69
  css="footer{display:none !important;}",
70
  theme=gr.themes.Base(),
71
  enable_queue=True,
72
  allow_flagging=False
73
+ ).launch()