Alexander Bagus commited on
Commit
ade095d
·
1 Parent(s): 18fbc8b

add Instructions

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. static/footer.md +9 -16
app.py CHANGED
@@ -49,6 +49,8 @@ def generate(
49
  if not prompt.strip():
50
  raise gr.Error("Please enter a prompt.")
51
 
 
 
52
  # Handle seed
53
  if random_seed:
54
  new_seed = random.randint(1, 1000000)
 
49
  if not prompt.strip():
50
  raise gr.Error("Please enter a prompt.")
51
 
52
+ print("prompt: ", prompt)
53
+
54
  # Handle seed
55
  if random_seed:
56
  new_seed = random.randint(1, 1000000)
static/footer.md CHANGED
@@ -1,28 +1,21 @@
1
- ## Instruction
2
- - **Use jpg format**, upload a minimum 1 image to "Input Images".
3
- - Press "Generate LoRA".
4
- - After a moment, your LoRA will be ready to download.
5
- - Press "Generate image" to use LoRA above.
6
- The generated image will have similar style as the sample images you uploaded.
7
 
8
- If you're using Python, you can use the LoRA above to generate an image using instructions from DiffSynth-Studio (link below).
9
 
10
- **And if you're happy with the result, please support me by pressing the like button 😄**
11
 
12
  ## For ComfyUI
13
  You can get the ComfyUI version here: <https://huggingface.co/Comfy-Org/z_image>
14
 
15
- ## Question and Answer
16
- **What can this app do?**
17
- This demo helps you make new pictures that look like your example pictures, using a LoRA.
18
-
19
  ## Features
20
- - Use a single image to generate LoRA (though more images are better).
21
- - You can download the LoRA you generate.
22
- - There's also an option to generate an image using the LoRA you created.
23
 
24
  ## Speed
25
- - Image generation takes about 20 seconds (28 steps, 1024x1024 resolution).
26
 
27
  ## References
28
  - **Tongyi-MAI**: <https://huggingface.co/Tongyi-MAI>
 
1
+ ## Instructions
2
+ - Input your prompt or choose one from the examples.
3
+ - Press "Generate".
 
 
 
4
 
5
+ After a moment, your image will be generated.
6
 
7
+ **If you like the result, please hit the like button! 😄**
8
 
9
  ## For ComfyUI
10
  You can get the ComfyUI version here: <https://huggingface.co/Comfy-Org/z_image>
11
 
 
 
 
 
12
  ## Features
13
+ - Excellent prompt adherence.
14
+ - Generates images with text.
15
+ - Good aesthetic results.
16
 
17
  ## Speed
18
+ - Image generation takes about 28 seconds (28 steps, 1024x1024 resolution).
19
 
20
  ## References
21
  - **Tongyi-MAI**: <https://huggingface.co/Tongyi-MAI>