Skip to content

Commit

Permalink
Optional[str] is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
fofr committed Sep 4, 2024
1 parent 157a19d commit b12ec33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def train(
description="Hugging Face token, if you'd like to upload the trained LoRA to Hugging Face.",
default=None,
),
skip_training_and_use_pretrained_hf_lora_url: Optional[str] = Input(
skip_training_and_use_pretrained_hf_lora_url: str = Input(
description="If you’d like to skip LoRA training altogether and instead create a Replicate model from a pre-trained LoRA that’s on HuggingFace, use this field with a HuggingFace download URL. For example, https://huggingface.co/fofr/flux-80s-cyberpunk/resolve/main/lora.safetensors.",
default=None,
),
Expand Down

0 comments on commit b12ec33

Please sign in to comment.