hysts commited on
Commit
044b487
1 Parent(s): 7a9fb86

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: indigo
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 2.9.1
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: indigo
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 3.0.2
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -70,7 +70,6 @@ def parse_args() -> argparse.Namespace:
70
  dest='enable_queue',
71
  action='store_false')
72
  parser.add_argument('--allow-flagging', type=str, default='never')
73
- parser.add_argument('--allow-screenshot', action='store_true')
74
  return parser.parse_args()
75
 
76
 
@@ -144,7 +143,6 @@ def main():
144
  description=DESCRIPTION,
145
  article=ARTICLE,
146
  theme=args.theme,
147
- allow_screenshot=args.allow_screenshot,
148
  allow_flagging=args.allow_flagging,
149
  live=args.live,
150
  ).launch(
 
70
  dest='enable_queue',
71
  action='store_false')
72
  parser.add_argument('--allow-flagging', type=str, default='never')
 
73
  return parser.parse_args()
74
 
75
 
 
143
  description=DESCRIPTION,
144
  article=ARTICLE,
145
  theme=args.theme,
 
146
  allow_flagging=args.allow_flagging,
147
  live=args.live,
148
  ).launch(