Spaces:
Running
on
A10G
Running
on
A10G
BertChristiaens
commited on
Commit
•
1c669b7
1
Parent(s):
ed10113
add image
Browse files- .gitattributes +1 -0
- app.py +1 -1
- content/Schermafbeelding 2023-05-05 om 14.29.39.png +3 -0
- models.py +2 -2
.gitattributes
CHANGED
@@ -41,3 +41,4 @@ content/example_0.png filter=lfs diff=lfs merge=lfs -text
|
|
41 |
content/example_1.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
content/output_0.png filter=lfs diff=lfs merge=lfs -text
|
43 |
content/output_1.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
41 |
content/example_1.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
content/output_0.png filter=lfs diff=lfs merge=lfs -text
|
43 |
content/output_1.png filter=lfs diff=lfs merge=lfs -text
|
44 |
+
content/Schermafbeelding[[:space:]]2023-05-05[[:space:]]om[[:space:]]14.29.39.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -315,7 +315,7 @@ def main():
|
|
315 |
# "data-centric framework that allows you to prepare large scale multimodal datasets with ease. We have implemented the components "
|
316 |
# "that we used to train this controlnet model in Fondant as an example pipeline, and we are excited to see what you can do with it! In the future we will add a whole library of plug-and-play data preparation components, such as different ML models and filtering steps, in addition to dataset scraping components that connect to LAION5B."
|
317 |
# )
|
318 |
-
# st.write("The framework is
|
319 |
|
320 |
st.write("### Testing images")
|
321 |
st.write("If you don't have any pictures close, you can use one of these images to test the model:")
|
|
|
315 |
# "data-centric framework that allows you to prepare large scale multimodal datasets with ease. We have implemented the components "
|
316 |
# "that we used to train this controlnet model in Fondant as an example pipeline, and we are excited to see what you can do with it! In the future we will add a whole library of plug-and-play data preparation components, such as different ML models and filtering steps, in addition to dataset scraping components that connect to LAION5B."
|
317 |
# )
|
318 |
+
# st.write("The framework is built on top of kubeflow pipelines and abstracts all the complexity of efficient storing and moving of large datasets, so you can focus on implemented just that piece of code that you need without worrying about the rest. We also build it to run on each Cloud provider or VM. You can find the code on our github page: https://github.com/ml6team/fondant.")
|
319 |
|
320 |
st.write("### Testing images")
|
321 |
st.write("If you don't have any pictures close, you can use one of these images to test the model:")
|
content/Schermafbeelding 2023-05-05 om 14.29.39.png
ADDED
Git LFS Details
|
models.py
CHANGED
@@ -52,7 +52,7 @@ def make_image_controlnet(image: np.ndarray,
|
|
52 |
generated_image = pipe(
|
53 |
prompt=positive_prompt,
|
54 |
negative_prompt=negative_prompt,
|
55 |
-
num_inference_steps=
|
56 |
strength=1.00,
|
57 |
guidance_scale=7.0,
|
58 |
generator=[torch.Generator(device="cuda").manual_seed(seed)],
|
@@ -89,7 +89,7 @@ def make_inpainting(positive_prompt: str,
|
|
89 |
mask_image=mask_image,
|
90 |
prompt=positive_prompt,
|
91 |
negative_prompt=negative_prompt,
|
92 |
-
num_inference_steps=
|
93 |
height=HEIGHT,
|
94 |
width=WIDTH,
|
95 |
).images[0]
|
|
|
52 |
generated_image = pipe(
|
53 |
prompt=positive_prompt,
|
54 |
negative_prompt=negative_prompt,
|
55 |
+
num_inference_steps=50,
|
56 |
strength=1.00,
|
57 |
guidance_scale=7.0,
|
58 |
generator=[torch.Generator(device="cuda").manual_seed(seed)],
|
|
|
89 |
mask_image=mask_image,
|
90 |
prompt=positive_prompt,
|
91 |
negative_prompt=negative_prompt,
|
92 |
+
num_inference_steps=50,
|
93 |
height=HEIGHT,
|
94 |
width=WIDTH,
|
95 |
).images[0]
|