Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,6 @@ h1 {
|
|
| 15 |
}
|
| 16 |
"""
|
| 17 |
|
| 18 |
-
|
| 19 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
| 20 |
MAX_SEED = np.iinfo(np.int32).max
|
| 21 |
|
|
@@ -37,9 +36,6 @@ def inpaintGen(
|
|
| 37 |
source_path = imgMask["background"]
|
| 38 |
mask_path = imgMask["layers"][0]
|
| 39 |
|
| 40 |
-
print(f'source_path: {source_path}')
|
| 41 |
-
print(f'mask_path: {mask_path}')
|
| 42 |
-
|
| 43 |
if not source_path:
|
| 44 |
raise gr.Error("Please upload an image.")
|
| 45 |
|
|
@@ -77,7 +73,7 @@ with gr.Blocks(theme="ocean", title="Flux.1 Fill dev", css=CSS) as demo:
|
|
| 77 |
gr.HTML("""
|
| 78 |
<p>
|
| 79 |
<center>
|
| 80 |
-
|
| 81 |
</center>
|
| 82 |
</p>
|
| 83 |
""")
|
|
|
|
| 15 |
}
|
| 16 |
"""
|
| 17 |
|
|
|
|
| 18 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
| 19 |
MAX_SEED = np.iinfo(np.int32).max
|
| 20 |
|
|
|
|
| 36 |
source_path = imgMask["background"]
|
| 37 |
mask_path = imgMask["layers"][0]
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
if not source_path:
|
| 40 |
raise gr.Error("Please upload an image.")
|
| 41 |
|
|
|
|
| 73 |
gr.HTML("""
|
| 74 |
<p>
|
| 75 |
<center>
|
| 76 |
+
FLUX.1 Fill [dev] is a 12 billion parameter rectified flow transformer capable of filling areas in existing images based on a text description.
|
| 77 |
</center>
|
| 78 |
</p>
|
| 79 |
""")
|