Skip to content

Commit

Permalink
reformatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberSahdev committed Jun 20, 2024
1 parent 07e806c commit e600ef7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from utils.screen import Screen
from utils.settings import Settings

DEFAULT_MODEL_NAME = "gpt-4o"
DEFAULT_MODEL_NAME = 'gpt-4o'


class LLM:
Expand Down
4 changes: 2 additions & 2 deletions app/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def save_button(self) -> None:
base_url = self.base_url_entry.get().strip()
model = self.model_var.get() if self.model_var.get() != 'custom' else self.model_entry.get().strip()
settings_dict = {
"base_url": base_url,
"model": model,
'base_url': base_url,
'model': model,
}

self.settings.save_settings_to_file(settings_dict)
Expand Down
6 changes: 3 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@


def build(signing_key=None):
input("Did you remember to increment version.py? " + str(version))
app_name = "Open\\ Interface"
input('Did you remember to increment version.py? ' + str(version))
app_name = 'Open\\ Interface'

compile(signing_key)

Expand Down Expand Up @@ -166,7 +166,7 @@ def zip():
return zip_name


if __name__ == "__main__":
if __name__ == '__main__':
apple_code_signing_key = None
if len(sys.argv) > 1:
apple_code_signing_key = sys.argv[1] # Developer ID Application: ... (...)
Expand Down

0 comments on commit e600ef7

Please sign in to comment.