Spaces:
Runtime error
Runtime error
tangjicheng
commited on
Commit
•
6f99225
1
Parent(s):
64def41
modified: app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def tagger_predict(image, score_threshold):
|
|
47 |
output_string_without_prob += iter.lable + "\n"
|
48 |
output_string = output_string[:-1]
|
49 |
output_string_without_prob = output_string_without_prob[:-1]
|
50 |
-
return (
|
51 |
|
52 |
|
53 |
def gradio_wrapper(image, score_threshold):
|
|
|
47 |
output_string_without_prob += iter.lable + "\n"
|
48 |
output_string = output_string[:-1]
|
49 |
output_string_without_prob = output_string_without_prob[:-1]
|
50 |
+
return (output_string_without_prob, output_string)
|
51 |
|
52 |
|
53 |
def gradio_wrapper(image, score_threshold):
|