Spaces:
Runtime error
Runtime error
Fixed typo
Browse files
app.py
CHANGED
|
@@ -247,7 +247,7 @@ def generate(
|
|
| 247 |
raise gr.Error("""
|
| 248 |
The number of boxes should be equal to the number of subjects.
|
| 249 |
Number of boxes drawn: {}, number of subjects: {}.
|
| 250 |
-
""".format(len(boxes),
|
| 251 |
|
| 252 |
filter_token_indices = convert_token_indices(filter_token_indices) if len(filter_token_indices.strip()) > 0 else None
|
| 253 |
num_tokens = int(num_tokens) if len(num_tokens.strip()) > 0 else None
|
|
|
|
| 247 |
raise gr.Error("""
|
| 248 |
The number of boxes should be equal to the number of subjects.
|
| 249 |
Number of boxes drawn: {}, number of subjects: {}.
|
| 250 |
+
""".format(len(boxes), num_subjects))
|
| 251 |
|
| 252 |
filter_token_indices = convert_token_indices(filter_token_indices) if len(filter_token_indices.strip()) > 0 else None
|
| 253 |
num_tokens = int(num_tokens) if len(num_tokens.strip()) > 0 else None
|