translators-will commited on
Commit
9e3f762
·
verified ·
1 Parent(s): aa7ba89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,7 +13,6 @@ def install_rust():
13
  subprocess.run("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y", shell=True)
14
  subprocess.run("source $HOME/.cargo/env", shell=True)
15
 
16
- # Call this before your main application logic
17
  install_rust()
18
 
19
  # Load environment variables
@@ -22,7 +21,7 @@ os.environ['PATH'] += f':{os.path.expanduser("~/.cargo/bin")}'
22
 
23
  load_dotenv()
24
  os.environ['OPENAI_API_KEY'] = os.getenv('OPENAI_API_KEY')
25
- OPENAI_MODEL = "gpt-4o-mini"
26
 
27
  # TranslateCode and ExecuteCode class implementations
28
 
 
13
  subprocess.run("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y", shell=True)
14
  subprocess.run("source $HOME/.cargo/env", shell=True)
15
 
 
16
  install_rust()
17
 
18
  # Load environment variables
 
21
 
22
  load_dotenv()
23
  os.environ['OPENAI_API_KEY'] = os.getenv('OPENAI_API_KEY')
24
+ OPENAI_MODEL = "gpt-4o"
25
 
26
  # TranslateCode and ExecuteCode class implementations
27