ginipick commited on
Commit
d75fd31
1 Parent(s): e71424d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -23,8 +23,10 @@ def process_prompt(prompt):
23
  return prompt, translated
24
  return prompt, prompt
25
 
 
 
26
  # Load LoRAs from JSON file
27
- with open('loras.json', 'r') as f:
28
  loras = json.load(f)
29
 
30
  # Initialize the base model
 
23
  return prompt, translated
24
  return prompt, prompt
25
 
26
+ KEY_JSON = os.getenv("KEY_JSON")
27
+
28
  # Load LoRAs from JSON file
29
+ with open(KEY_JSON, 'r') as f:
30
  loras = json.load(f)
31
 
32
  # Initialize the base model