hysts HF staff commited on
Commit
c705ed3
·
1 Parent(s): 2762bcd

gradio 3.0.5

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.9.1
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: green
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 3.0.5
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -41,7 +41,6 @@ def parse_args() -> argparse.Namespace:
41
  dest='enable_queue',
42
  action='store_false')
43
  parser.add_argument('--allow-flagging', type=str, default='never')
44
- parser.add_argument('--allow-screenshot', action='store_true')
45
  return parser.parse_args()
46
 
47
 
@@ -139,7 +138,6 @@ def main():
139
  description=DESCRIPTION,
140
  article=ARTICLE,
141
  theme=args.theme,
142
- allow_screenshot=args.allow_screenshot,
143
  allow_flagging=args.allow_flagging,
144
  live=args.live,
145
  ).launch(
 
41
  dest='enable_queue',
42
  action='store_false')
43
  parser.add_argument('--allow-flagging', type=str, default='never')
 
44
  return parser.parse_args()
45
 
46
 
 
138
  description=DESCRIPTION,
139
  article=ARTICLE,
140
  theme=args.theme,
 
141
  allow_flagging=args.allow_flagging,
142
  live=args.live,
143
  ).launch(