Fiqa commited on
Commit
663d1b9
·
verified ·
1 Parent(s): 3891dec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def generate_caption_and_image(image):
62
  out = model.generate(**inputs)
63
  caption = processor.decode(out[0], skip_special_tokens=True)
64
  caption2 =pipe2(img)
65
- prompt = '''f'''Create a highly realistic clothing item based on the following descriptions: The design should reflect {caption1} and {caption2}, blending both themes into a single, stylish, and modern piece of clothing. Incorporate highly realistic and high-quality textures that exude sophistication, with realistic fabric lighting and fine details. Subtly hint at {selected_fabric}, featuring a {selected_pattern} motif and a {selected_textile_design} style that harmoniously balances the essence of both captions.''''''
66
 
67
 
68
 
 
62
  out = model.generate(**inputs)
63
  caption = processor.decode(out[0], skip_special_tokens=True)
64
  caption2 =pipe2(img)
65
+ prompt = f'''Create a highly realistic clothing item based on the following descriptions: The design should reflect {caption1} and {caption2}, blending both themes into a single, stylish, and modern piece of clothing. Incorporate highly realistic and high-quality textures that exude sophistication, with realistic fabric lighting and fine details. Subtly hint at {selected_fabric}, featuring a {selected_pattern} motif and a {selected_textile_design} style that harmoniously balances the essence of both captions.'''
66
 
67
 
68