Spaces:
Sleeping
Sleeping
RandomNameAnd6
commited on
Commit
•
4ae72aa
1
Parent(s):
cf5d809
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def generate_ai_title():
|
|
80 |
title = title.strip() # Remove any extra whitespace characters like newlines
|
81 |
if string_similarity_index(generated_title, title):
|
82 |
is_unique = False
|
83 |
-
print(f"Regenerating! Generated title was: \"
|
84 |
break
|
85 |
|
86 |
if is_unique:
|
|
|
80 |
title = title.strip() # Remove any extra whitespace characters like newlines
|
81 |
if string_similarity_index(generated_title, title):
|
82 |
is_unique = False
|
83 |
+
print(f"Regenerating! Generated title was: \"{generated_title}\", and the real title was \"{title}\"")
|
84 |
break
|
85 |
|
86 |
if is_unique:
|