Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
8789d0b6
Unverified
Commit
8789d0b6
authored
Nov 13, 2023
by
Younes Belkada
Committed by
GitHub
Nov 13, 2023
Browse files
fix styling issues on main (#5754)
fix styling issues
parent
b1fbef54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
examples/text_to_image/train_text_to_image_flax.py
examples/text_to_image/train_text_to_image_flax.py
+1
-4
examples/text_to_image/train_text_to_image_lora_sdxl.py
examples/text_to_image/train_text_to_image_lora_sdxl.py
+1
-4
No files found.
examples/text_to_image/train_text_to_image_flax.py
View file @
8789d0b6
...
...
@@ -272,10 +272,7 @@ def main():
if
args
.
dataset_name
is
not
None
:
# Downloading and loading a dataset from the hub.
dataset
=
load_dataset
(
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
)
else
:
data_files
=
{}
...
...
examples/text_to_image/train_text_to_image_lora_sdxl.py
View file @
8789d0b6
...
...
@@ -765,10 +765,7 @@ def main(args):
if
args
.
dataset_name
is
not
None
:
# Downloading and loading a dataset from the hub.
dataset
=
load_dataset
(
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
args
.
dataset_name
,
args
.
dataset_config_name
,
cache_dir
=
args
.
cache_dir
,
data_dir
=
args
.
train_data_dir
)
else
:
data_files
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment