Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,9 +41,7 @@ def generate(
|
|
| 41 |
|
| 42 |
subprocess.run(["python", "$command"])
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
return os.path.join(f"output_minecraft_skins/{name_output}")
|
| 47 |
|
| 48 |
|
| 49 |
prompt = gr.Textbox(label="Prompt", interactive=True)
|
|
@@ -73,6 +71,8 @@ examples = [
|
|
| 73 |
1,
|
| 74 |
"fp16",
|
| 75 |
42,
|
|
|
|
|
|
|
| 76 |
]
|
| 77 |
]
|
| 78 |
|
|
|
|
| 41 |
|
| 42 |
subprocess.run(["python", "$command"])
|
| 43 |
|
| 44 |
+
return os.path.join(f"output_minecraft_skins/{output_image_name}")
|
|
|
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
prompt = gr.Textbox(label="Prompt", interactive=True)
|
|
|
|
| 71 |
1,
|
| 72 |
"fp16",
|
| 73 |
42,
|
| 74 |
+
"output.png",
|
| 75 |
+
False
|
| 76 |
]
|
| 77 |
]
|
| 78 |
|