Spaces:
Runtime error
Runtime error
Fix Initial Setup
Browse files- cache/pfp_character.png +0 -0
- extensions/gallery/__pycache__/script.cpython-310.pyc +0 -0
- modules/__pycache__/LoRA.cpython-310.pyc +0 -0
- modules/__pycache__/block_requests.cpython-310.pyc +0 -0
- modules/__pycache__/callbacks.cpython-310.pyc +0 -0
- modules/__pycache__/chat.cpython-310.pyc +0 -0
- modules/__pycache__/evaluate.cpython-310.pyc +0 -0
- modules/__pycache__/extensions.cpython-310.pyc +0 -0
- modules/__pycache__/github.cpython-310.pyc +0 -0
- modules/__pycache__/html_generator.cpython-310.pyc +0 -0
- modules/__pycache__/llama_attn_hijack.cpython-310.pyc +0 -0
- modules/__pycache__/loaders.cpython-310.pyc +0 -0
- modules/__pycache__/logging_colors.cpython-310.pyc +0 -0
- modules/__pycache__/models.cpython-310.pyc +0 -0
- modules/__pycache__/models_settings.cpython-310.pyc +0 -0
- modules/__pycache__/presets.cpython-310.pyc +0 -0
- modules/__pycache__/sampler_hijack.cpython-310.pyc +0 -0
- modules/__pycache__/shared.cpython-310.pyc +0 -0
- modules/__pycache__/text_generation.cpython-310.pyc +0 -0
- modules/__pycache__/training.cpython-310.pyc +0 -0
- modules/__pycache__/ui.cpython-310.pyc +0 -0
- modules/__pycache__/utils.cpython-310.pyc +0 -0
- modules/shared.py +7 -1
- server.py +1 -1
cache/pfp_character.png
ADDED
extensions/gallery/__pycache__/script.cpython-310.pyc
CHANGED
Binary files a/extensions/gallery/__pycache__/script.cpython-310.pyc and b/extensions/gallery/__pycache__/script.cpython-310.pyc differ
|
|
modules/__pycache__/LoRA.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/LoRA.cpython-310.pyc and b/modules/__pycache__/LoRA.cpython-310.pyc differ
|
|
modules/__pycache__/block_requests.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/block_requests.cpython-310.pyc and b/modules/__pycache__/block_requests.cpython-310.pyc differ
|
|
modules/__pycache__/callbacks.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/callbacks.cpython-310.pyc and b/modules/__pycache__/callbacks.cpython-310.pyc differ
|
|
modules/__pycache__/chat.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/chat.cpython-310.pyc and b/modules/__pycache__/chat.cpython-310.pyc differ
|
|
modules/__pycache__/evaluate.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/evaluate.cpython-310.pyc and b/modules/__pycache__/evaluate.cpython-310.pyc differ
|
|
modules/__pycache__/extensions.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/extensions.cpython-310.pyc and b/modules/__pycache__/extensions.cpython-310.pyc differ
|
|
modules/__pycache__/github.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/github.cpython-310.pyc and b/modules/__pycache__/github.cpython-310.pyc differ
|
|
modules/__pycache__/html_generator.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/html_generator.cpython-310.pyc and b/modules/__pycache__/html_generator.cpython-310.pyc differ
|
|
modules/__pycache__/llama_attn_hijack.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/llama_attn_hijack.cpython-310.pyc and b/modules/__pycache__/llama_attn_hijack.cpython-310.pyc differ
|
|
modules/__pycache__/loaders.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/loaders.cpython-310.pyc and b/modules/__pycache__/loaders.cpython-310.pyc differ
|
|
modules/__pycache__/logging_colors.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/logging_colors.cpython-310.pyc and b/modules/__pycache__/logging_colors.cpython-310.pyc differ
|
|
modules/__pycache__/models.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/models.cpython-310.pyc and b/modules/__pycache__/models.cpython-310.pyc differ
|
|
modules/__pycache__/models_settings.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/models_settings.cpython-310.pyc and b/modules/__pycache__/models_settings.cpython-310.pyc differ
|
|
modules/__pycache__/presets.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/presets.cpython-310.pyc and b/modules/__pycache__/presets.cpython-310.pyc differ
|
|
modules/__pycache__/sampler_hijack.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/sampler_hijack.cpython-310.pyc and b/modules/__pycache__/sampler_hijack.cpython-310.pyc differ
|
|
modules/__pycache__/shared.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/shared.cpython-310.pyc and b/modules/__pycache__/shared.cpython-310.pyc differ
|
|
modules/__pycache__/text_generation.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/text_generation.cpython-310.pyc and b/modules/__pycache__/text_generation.cpython-310.pyc differ
|
|
modules/__pycache__/training.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/training.cpython-310.pyc and b/modules/__pycache__/training.cpython-310.pyc differ
|
|
modules/__pycache__/ui.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/ui.cpython-310.pyc and b/modules/__pycache__/ui.cpython-310.pyc differ
|
|
modules/__pycache__/utils.cpython-310.pyc
CHANGED
Binary files a/modules/__pycache__/utils.cpython-310.pyc and b/modules/__pycache__/utils.cpython-310.pyc differ
|
|
modules/shared.py
CHANGED
@@ -37,7 +37,7 @@ settings = {
|
|
37 |
'max_new_tokens_min': 1,
|
38 |
'max_new_tokens_max': 4096,
|
39 |
'seed': -1,
|
40 |
-
'character': '
|
41 |
'name1': 'You',
|
42 |
'name2': 'Assistant',
|
43 |
'context': 'This is a conversation with your Assistant. It is a computer program designed to help you with various tasks such as answering questions, providing recommendations, and helping with decision making. You can ask it anything you want and it will do its best to give you accurate and relevant information.',
|
@@ -192,6 +192,12 @@ parser.add_argument('--multimodal-pipeline', type=str, default=None, help='The m
|
|
192 |
args = parser.parse_args()
|
193 |
args_defaults = parser.parse_args([])
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
# Deprecation warnings
|
196 |
if args.autogptq:
|
197 |
logger.warning('--autogptq has been deprecated and will be removed soon. Use --loader autogptq instead.')
|
|
|
37 |
'max_new_tokens_min': 1,
|
38 |
'max_new_tokens_max': 4096,
|
39 |
'seed': -1,
|
40 |
+
'character': 'None',
|
41 |
'name1': 'You',
|
42 |
'name2': 'Assistant',
|
43 |
'context': 'This is a conversation with your Assistant. It is a computer program designed to help you with various tasks such as answering questions, providing recommendations, and helping with decision making. You can ask it anything you want and it will do its best to give you accurate and relevant information.',
|
|
|
192 |
args = parser.parse_args()
|
193 |
args_defaults = parser.parse_args([])
|
194 |
|
195 |
+
# Set up changes
|
196 |
+
args.chat = True
|
197 |
+
args.load_in_4bits = True
|
198 |
+
args.character = "Whiskey"
|
199 |
+
args.multi_user = True
|
200 |
+
|
201 |
# Deprecation warnings
|
202 |
if args.autogptq:
|
203 |
logger.warning('--autogptq has been deprecated and will be removed soon. Use --loader autogptq instead.')
|
server.py
CHANGED
@@ -1107,7 +1107,7 @@ def create_interface():
|
|
1107 |
shared.gradio['interface'].queue()
|
1108 |
with OpenMonkeyPatch():
|
1109 |
if shared.args.listen:
|
1110 |
-
shared.gradio['interface'].launch(prevent_thread_lock=True, share=shared.args.share, server_name=shared.args.listen_host or '0.0.0.0', server_port=shared.args.listen_port, inbrowser=shared.args.auto_launch)
|
1111 |
else:
|
1112 |
shared.gradio['interface'].launch(prevent_thread_lock=True, share=shared.args.share, server_port=shared.args.listen_port, inbrowser=shared.args.auto_launch, auth=auth)
|
1113 |
|
|
|
1107 |
shared.gradio['interface'].queue()
|
1108 |
with OpenMonkeyPatch():
|
1109 |
if shared.args.listen:
|
1110 |
+
shared.gradio['interface'].launch(prevent_thread_lock=True, share=shared.args.share, server_name=shared.args.listen_host or '0.0.0.0', server_port=shared.args.listen_port, inbrowser=shared.args.auto_launch, )
|
1111 |
else:
|
1112 |
shared.gradio['interface'].launch(prevent_thread_lock=True, share=shared.args.share, server_port=shared.args.listen_port, inbrowser=shared.args.auto_launch, auth=auth)
|
1113 |
|