Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ def validation(text):
|
|
254 |
else:
|
255 |
adjective_str = ' '.join(adjectives)
|
256 |
noun_str = ' '.join(nouns)
|
257 |
-
combined_sentence = f"{adjective_str} {noun_str}"
|
258 |
result['validation'] = 'valid'
|
259 |
result['sentence'] = combined_sentence
|
260 |
|
|
|
254 |
else:
|
255 |
adjective_str = ' '.join(adjectives)
|
256 |
noun_str = ' '.join(nouns)
|
257 |
+
combined_sentence = f"{adjective_str} {noun_str}".strip()
|
258 |
result['validation'] = 'valid'
|
259 |
result['sentence'] = combined_sentence
|
260 |
|