gaur3009 commited on
Commit
63251ba
·
verified ·
1 Parent(s): a37b9ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -6,13 +6,10 @@ from io import BytesIO
6
  from tqdm import tqdm
7
  import time
8
 
9
- # Defining the repository information and the trigger word
10
  repo = "artificialguybr/TshirtDesignRedmond-V2"
11
- # Function to generate image based on the prompt
12
  def infer(color_prompt, dress_type_prompt, design_prompt, text):
13
- # Build the full prompt
14
  prompt = (
15
- f"A single {color_prompt} colored {dress_type_prompt} featuring a bold {design_prompt} design on the front, hanging on a plain wall. The soft light and shadows highlight the crisp lines and {text}, creating a striking contrast against the minimal background, evoking modern sophistication.")
16
  full_prompt = f"{prompt}"
17
 
18
  print("Generating image with prompt:", full_prompt)
 
6
  from tqdm import tqdm
7
  import time
8
 
 
9
  repo = "artificialguybr/TshirtDesignRedmond-V2"
 
10
  def infer(color_prompt, dress_type_prompt, design_prompt, text):
 
11
  prompt = (
12
+ f"A single {color_prompt} colored {dress_type_prompt} featuring a bold {design_prompt} design on the front, hanging on a plain wall. The soft light and shadows, creating a striking contrast against the minimal background, evoking modern sophistication.")
13
  full_prompt = f"{prompt}"
14
 
15
  print("Generating image with prompt:", full_prompt)