multimodalart HF staff commited on
Commit
93009ec
1 Parent(s): cfe8a79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def get_prompts_from_image(image_id):
51
  def extract_info(json_data):
52
  if json_data["type"] == "LORA":
53
  for model_version in json_data["modelVersions"]:
54
- if model_version["baseModel"] in ["SDXL 1.0", "SDXL 0.9", "SD 1.5", "SD 1.4", "SD 2.1", "SD 2.0", "SD 2.0 768", "SD 2.1 768"]:
55
  for file in model_version["files"]:
56
  print(file)
57
  if "primary" in file:
 
51
  def extract_info(json_data):
52
  if json_data["type"] == "LORA":
53
  for model_version in json_data["modelVersions"]:
54
+ if model_version["baseModel"] in ["SDXL 1.0", "SDXL 0.9", "SD 1.5", "SD 1.4", "SD 2.1", "SD 2.0", "SD 2.0 768", "SD 2.1 768", "Flux.1 D", "Flux.1 S"]:
55
  for file in model_version["files"]:
56
  print(file)
57
  if "primary" in file: