Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -267,9 +267,9 @@ def process_image(image, general_threshold, character_threshold, artist_threshol
|
|
267 |
def parse_args() -> argparse.Namespace:
|
268 |
parser = argparse.ArgumentParser()
|
269 |
parser.add_argument("--slider-step", type=float, default=0.01)
|
270 |
-
parser.add_argument("--general-threshold", type=float, default=0.
|
271 |
-
parser.add_argument("--character-threshold", type=float, default=0.
|
272 |
-
parser.add_argument("--artist-threshold", type=float, default=0.
|
273 |
return parser.parse_args()
|
274 |
|
275 |
def main():
|
|
|
267 |
def parse_args() -> argparse.Namespace:
|
268 |
parser = argparse.ArgumentParser()
|
269 |
parser.add_argument("--slider-step", type=float, default=0.01)
|
270 |
+
parser.add_argument("--general-threshold", type=float, default=0.75)
|
271 |
+
parser.add_argument("--character-threshold", type=float, default=0.9)
|
272 |
+
parser.add_argument("--artist-threshold", type=float, default=0.8)
|
273 |
return parser.parse_args()
|
274 |
|
275 |
def main():
|