Spaces:
Running on Zero
Running on Zero
Update utils.py
Browse files299 unmodified lines300301302303303304305306299 unmodified lines default = "SD 1.5" try: if os.path.exists(repo_id): tag = checkpoint_model_type(repo_id) tag, _, _ = checkpoint_model_type(repo_id) return DIFFUSECRAFT_CHECKPOINT_NAME[tag] else: model = api.model_info(repo_id=repo_id, timeout=5.0)utils.py+1-1