fix: refine prompt for title (#22)

This commit is contained in:
cool-aid authored and GitHub committed 2024-02-20 08:56:42 +01:00
1 parent 519a0dc3be
commit 856d124e54
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ class YouTube:
Returns:
metadata (dict): The generated metadata.
"""
title = self.generate_response(f"Please generate a YouTube Video Title for the following subject, including hashtags: {self.subject}. Only return the title, nothing else.")
title = self.generate_response(f"Please generate a YouTube Video Title for the following subject, including hashtags: {self.subject}. Only return the title, nothing else. Limit the title under 100 characters.")
if len(title) > 100:
if get_verbose():