doevent commited on
Commit
43d4050
1 Parent(s): 59384cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -62,17 +62,17 @@ article = "<div style='text-align: center;'>Twitter <a href='https://twitter.com
62
 
63
  gr.Interface(inference,
64
  [gr.Image(type="pil"),
65
- gr.Radio(['2x', '4x', '8x'],
66
  type="value",
67
- value='2x',
68
- label='Resolution model')],
69
  gr.Image(type="pil", label="Output", format="png"),
70
  title=title,
71
  description=description,
72
  article=article,
73
- examples=[['groot.jpeg', "2x"]],
74
- allow_flagging='never',
75
- cache_examples=False,
76
  delete_cache=(4000, 4000),
77
  ).queue(api_open=True).launch(show_error=True, show_api=True)
78
 
 
62
 
63
  gr.Interface(inference,
64
  [gr.Image(type="pil"),
65
+ gr.Radio(["2x", "4x", "8x"],
66
  type="value",
67
+ value="2x",
68
+ label="Resolution model")],
69
  gr.Image(type="pil", label="Output", format="png"),
70
  title=title,
71
  description=description,
72
  article=article,
73
+ examples=[["groot.jpeg", "2x"]],
74
+ allow_flagging="never",
75
+ cache_examples="lazy",
76
  delete_cache=(4000, 4000),
77
  ).queue(api_open=True).launch(show_error=True, show_api=True)
78