prithivMLmods commited on
Commit
abe87df
Β·
verified Β·
1 Parent(s): ba569e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -199,7 +199,7 @@ def generate(
199
  command_tag = "@" + key_lower
200
  if text.strip().lower().startswith(command_tag):
201
  prompt_text = text.strip()[len(command_tag):].strip()
202
- yield f"πŸŽƒ Generating image with {key} style..."
203
  image_paths, used_seed = generate_image(
204
  prompt=prompt_text,
205
  negative_prompt="",
@@ -210,6 +210,7 @@ def generate(
210
  randomize_seed=True,
211
  lora_model=key,
212
  )
 
213
  yield gr.Image(image_paths[0])
214
  return
215
 
@@ -252,7 +253,7 @@ def generate(
252
  thread.start()
253
 
254
  buffer = ""
255
- yield "Thinking..."
256
  for new_text in streamer:
257
  buffer += new_text
258
  buffer = buffer.replace("<|im_end|>", "")
 
199
  command_tag = "@" + key_lower
200
  if text.strip().lower().startswith(command_tag):
201
  prompt_text = text.strip()[len(command_tag):].strip()
202
+ yield f" > Processing Image Generation {key} style β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’ 69%"
203
  image_paths, used_seed = generate_image(
204
  prompt=prompt_text,
205
  negative_prompt="",
 
210
  randomize_seed=True,
211
  lora_model=key,
212
  )
213
+ yield " > Processing Image Generation β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’ 95%"
214
  yield gr.Image(image_paths[0])
215
  return
216
 
 
253
  thread.start()
254
 
255
  buffer = ""
256
+ yield " > Processing with Qwen2VL Ocr β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’ 69%"
257
  for new_text in streamer:
258
  buffer += new_text
259
  buffer = buffer.replace("<|im_end|>", "")