Spaces:
Build error
Build error
File size: 859 Bytes
873d0cf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
name_ = "GPT Computer Assistant"
def name():
global name_
return name_
def change_name(new_name):
global name_
name_ = new_name
from .gpt_computer_agent import the_main_window
def adjust_string_length(input_string):
if len(input_string) < 20:
return input_string.ljust(20)
else:
return input_string[:20]
the_main_window.title_label.setText(adjust_string_length(name_))
developer_ = "Open Source Community"
def developer():
global developer_
return developer_
def change_developer(new_developer):
global developer_
developer_ = new_developer
the_website_content = None
def get_website_content():
global the_website_content
return the_website_content
def set_website_content(content):
global the_website_content
the_website_content = content
|