Spaces:
Sleeping
Sleeping
gradio 3.0.5
Browse files
README.md
CHANGED
@@ -4,6 +4,7 @@ emoji: 🏃
|
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
|
|
7 |
app_file: app.py
|
8 |
pinned: false
|
9 |
---
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
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 |
|
@@ -124,7 +123,6 @@ def main():
|
|
124 |
description=DESCRIPTION,
|
125 |
article=ARTICLE,
|
126 |
theme=args.theme,
|
127 |
-
allow_screenshot=args.allow_screenshot,
|
128 |
allow_flagging=args.allow_flagging,
|
129 |
live=args.live,
|
130 |
).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 |
|
|
|
123 |
description=DESCRIPTION,
|
124 |
article=ARTICLE,
|
125 |
theme=args.theme,
|
|
|
126 |
allow_flagging=args.allow_flagging,
|
127 |
live=args.live,
|
128 |
).launch(
|