MohamedRashad commited on
Commit
985163d
·
1 Parent(s): c767532

Remove commented-out code for generating T2I prompt in app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -49,9 +49,6 @@ Focus on the item itself, ensuring it is fully described, and specify a plain, w
49
 
50
  return object_t2i_prompt
51
 
52
- # generate_t2i_prompt("Golden Isalmic Mosque")
53
- # exit()
54
-
55
  def generate_item_image(object_t2i_prompt):
56
  image = client.text_to_image(object_t2i_prompt, model="black-forest-labs/FLUX.1-dev", width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28)
57
  trial_id, processed_image = preprocess_image(image)
 
49
 
50
  return object_t2i_prompt
51
 
 
 
 
52
  def generate_item_image(object_t2i_prompt):
53
  image = client.text_to_image(object_t2i_prompt, model="black-forest-labs/FLUX.1-dev", width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28)
54
  trial_id, processed_image = preprocess_image(image)