mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 18:26:34 +01:00
move set_options to class, improve print messages, colored print messages
This commit is contained in:
@@ -104,7 +104,7 @@ class TextSummarizationHuggingChat(DVMTaskInterface):
|
||||
cookies = sign.login()
|
||||
sign.saveCookiesToDir(cookie_path_dir)
|
||||
|
||||
options = DVMTaskInterface.set_options(request_form)
|
||||
options = self.set_options(request_form)
|
||||
|
||||
try:
|
||||
chatbot = hugchat.ChatBot(cookies=cookies.get_dict()) # or cookie_path="usercookies/<email>.json"
|
||||
|
||||
Reference in New Issue
Block a user