Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def generate(
|
|
234 |
torch.cuda.empty_cache()
|
235 |
|
236 |
selected_pipe = models.get(model_choice, pipe)
|
237 |
-
yield "
|
238 |
images = selected_pipe(**options).images
|
239 |
image_path = save_image(images[0])
|
240 |
yield gr.Image(image_path)
|
@@ -272,7 +272,7 @@ def generate(
|
|
272 |
thread.start()
|
273 |
|
274 |
buffer = ""
|
275 |
-
yield "
|
276 |
for new_text in streamer:
|
277 |
buffer += new_text
|
278 |
buffer = buffer.replace("<|im_end|>", "")
|
|
|
234 |
torch.cuda.empty_cache()
|
235 |
|
236 |
selected_pipe = models.get(model_choice, pipe)
|
237 |
+
yield " > Processing Image Generation ███████▒▒▒ 69%"
|
238 |
images = selected_pipe(**options).images
|
239 |
image_path = save_image(images[0])
|
240 |
yield gr.Image(image_path)
|
|
|
272 |
thread.start()
|
273 |
|
274 |
buffer = ""
|
275 |
+
yield " > Processing with Qwen2VL Ocr ███████▒▒▒ 69%"
|
276 |
for new_text in streamer:
|
277 |
buffer += new_text
|
278 |
buffer = buffer.replace("<|im_end|>", "")
|