fallenshock commited on
Commit
07ae0ca
1 Parent(s): e932078
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -83,6 +83,7 @@ def FlowEditRun(
83
  raise gr.Error("You must be logged in to use Stable Diffusion 3.0 and FLUX.1 models.")
84
  if model_type == 'SD3':
85
  try:
 
86
  huggingface_hub.get_hf_file_metadata(huggingface_hub.hf_hub_url(SD3STRING, 'sd3_medium.safetensors'),
87
  token=oauth_token.token)
88
  print('Has Access')
 
83
  raise gr.Error("You must be logged in to use Stable Diffusion 3.0 and FLUX.1 models.")
84
  if model_type == 'SD3':
85
  try:
86
+ print(f'token: {oauth_token.token}')
87
  huggingface_hub.get_hf_file_metadata(huggingface_hub.hf_hub_url(SD3STRING, 'sd3_medium.safetensors'),
88
  token=oauth_token.token)
89
  print('Has Access')