sagar007 commited on
Commit
74f4c1e
1 Parent(s): 6d39491

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ if 'HF_TOKEN' in os.environ:
19
  else:
20
  raise ValueError("HF_TOKEN not found in environment variables. Please add it to your Space's secrets.")
21
 
 
22
  base_model = config['config']['model']['name_or_path']
23
  lora_model = "sagar007/sagar_flux" # This isn't in the config, so we're keeping it as is
24
  trigger_word = config['config']['trigger_word']
 
19
  else:
20
  raise ValueError("HF_TOKEN not found in environment variables. Please add it to your Space's secrets.")
21
 
22
+ # Correctly access the config values
23
  base_model = config['config']['model']['name_or_path']
24
  lora_model = "sagar007/sagar_flux" # This isn't in the config, so we're keeping it as is
25
  trigger_word = config['config']['trigger_word']