Spaces:
Running
on
Zero
Running
on
Zero
gradio 3.0.5
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 💩
|
|
4 |
colorFrom: red
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.0.5
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
app.py
CHANGED
@@ -38,7 +38,6 @@ def parse_args() -> argparse.Namespace:
|
|
38 |
dest='enable_queue',
|
39 |
action='store_false')
|
40 |
parser.add_argument('--allow-flagging', type=str, default='never')
|
41 |
-
parser.add_argument('--allow-screenshot', action='store_true')
|
42 |
return parser.parse_args()
|
43 |
|
44 |
|
@@ -128,7 +127,6 @@ def main():
|
|
128 |
description=DESCRIPTION,
|
129 |
article=ARTICLE,
|
130 |
theme=args.theme,
|
131 |
-
allow_screenshot=args.allow_screenshot,
|
132 |
allow_flagging=args.allow_flagging,
|
133 |
live=args.live,
|
134 |
).launch(
|
|
|
38 |
dest='enable_queue',
|
39 |
action='store_false')
|
40 |
parser.add_argument('--allow-flagging', type=str, default='never')
|
|
|
41 |
return parser.parse_args()
|
42 |
|
43 |
|
|
|
127 |
description=DESCRIPTION,
|
128 |
article=ARTICLE,
|
129 |
theme=args.theme,
|
|
|
130 |
allow_flagging=args.allow_flagging,
|
131 |
live=args.live,
|
132 |
).launch(
|