fix: refine prompt for title (#22)
This commit is contained in:
1 parent
519a0dc3be
commit
856d124e54
1 file changed
+1
-1
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user