hysts HF staff commited on
Commit
8a83512
1 Parent(s): c06a3d7

Update for gradio 3.0

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +0 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 👀
4
  colorFrom: green
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 2.8.13
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: green
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 3.0.2
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -82,7 +82,6 @@ def parse_args() -> argparse.Namespace:
82
  dest='enable_queue',
83
  action='store_false')
84
  parser.add_argument('--allow-flagging', type=str, default='never')
85
- parser.add_argument('--allow-screenshot', action='store_true')
86
  return parser.parse_args()
87
 
88
 
@@ -289,7 +288,6 @@ def main():
289
  description=DESCRIPTION,
290
  article=ARTICLE,
291
  theme=args.theme,
292
- allow_screenshot=args.allow_screenshot,
293
  allow_flagging=args.allow_flagging,
294
  live=args.live,
295
  ).launch(
 
82
  dest='enable_queue',
83
  action='store_false')
84
  parser.add_argument('--allow-flagging', type=str, default='never')
 
85
  return parser.parse_args()
86
 
87
 
 
288
  description=DESCRIPTION,
289
  article=ARTICLE,
290
  theme=args.theme,
 
291
  allow_flagging=args.allow_flagging,
292
  live=args.live,
293
  ).launch(