Spaces:
Runtime error
Runtime error
update readme
Browse files- .gitattributes +1 -1
- .gitignore +2 -0
- README.md +2 -2
- app.py +2 -2
- flux/__pycache__/__init__.cpython-310.pyc +0 -0
- flux/__pycache__/_version.cpython-310.pyc +0 -0
- flux/__pycache__/math.cpython-310.pyc +0 -0
- flux/__pycache__/model.cpython-310.pyc +0 -0
- flux/__pycache__/sampling.cpython-310.pyc +0 -0
- flux/__pycache__/util.cpython-310.pyc +0 -0
- flux/modules/__pycache__/autoencoder.cpython-310.pyc +0 -0
- flux/modules/__pycache__/conditioner.cpython-310.pyc +0 -0
- flux/modules/__pycache__/layers.cpython-310.pyc +0 -0
- models/__pycache__/kv_edit.cpython-310.pyc +0 -0
.gitattributes
CHANGED
|
@@ -32,4 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 32 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 32 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
result/
|
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: KV Edit
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.16.2
|
|
|
|
| 1 |
---
|
| 2 |
title: KV Edit
|
| 3 |
+
emoji: 🎨
|
| 4 |
+
colorFrom: blue
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.16.2
|
app.py
CHANGED
|
@@ -200,9 +200,9 @@ def create_demo(model_name: str):
|
|
| 200 |
|
| 201 |
with gr.Row():
|
| 202 |
with gr.Column():
|
| 203 |
-
source_prompt = gr.Textbox(label="Source Prompt", value='
|
| 204 |
inversion_num_steps = gr.Slider(1, 50, 28, step=1, label="Number of inversion steps")
|
| 205 |
-
target_prompt = gr.Textbox(label="Target Prompt", value='
|
| 206 |
denoise_num_steps = gr.Slider(1, 50, 28, step=1, label="Number of denoise steps")
|
| 207 |
init_image = gr.Image(label="Input Image", visible=True)
|
| 208 |
brush_canvas = gr.ImageEditor(label="Brush Canvas",
|
|
|
|
| 200 |
|
| 201 |
with gr.Row():
|
| 202 |
with gr.Column():
|
| 203 |
+
source_prompt = gr.Textbox(label="Source Prompt", value='' )
|
| 204 |
inversion_num_steps = gr.Slider(1, 50, 28, step=1, label="Number of inversion steps")
|
| 205 |
+
target_prompt = gr.Textbox(label="Target Prompt", value='' )
|
| 206 |
denoise_num_steps = gr.Slider(1, 50, 28, step=1, label="Number of denoise steps")
|
| 207 |
init_image = gr.Image(label="Input Image", visible=True)
|
| 208 |
brush_canvas = gr.ImageEditor(label="Brush Canvas",
|
flux/__pycache__/__init__.cpython-310.pyc
DELETED
|
Binary file (477 Bytes)
|
|
|
flux/__pycache__/_version.cpython-310.pyc
DELETED
|
Binary file (485 Bytes)
|
|
|
flux/__pycache__/math.cpython-310.pyc
DELETED
|
Binary file (2.23 kB)
|
|
|
flux/__pycache__/model.cpython-310.pyc
DELETED
|
Binary file (4.81 kB)
|
|
|
flux/__pycache__/sampling.cpython-310.pyc
DELETED
|
Binary file (6.72 kB)
|
|
|
flux/__pycache__/util.cpython-310.pyc
DELETED
|
Binary file (5.53 kB)
|
|
|
flux/modules/__pycache__/autoencoder.cpython-310.pyc
DELETED
|
Binary file (9.03 kB)
|
|
|
flux/modules/__pycache__/conditioner.cpython-310.pyc
DELETED
|
Binary file (1.47 kB)
|
|
|
flux/modules/__pycache__/layers.cpython-310.pyc
DELETED
|
Binary file (13.5 kB)
|
|
|
models/__pycache__/kv_edit.cpython-310.pyc
DELETED
|
Binary file (6.89 kB)
|
|
|