Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def model_inference(input_dict, history):
|
|
| 42 |
else:
|
| 43 |
# For simplicity, use the first provided image.
|
| 44 |
image = load_image(files[0])
|
| 45 |
-
yield "
|
| 46 |
messages = [{
|
| 47 |
"role": "user",
|
| 48 |
"content": [
|
|
@@ -121,7 +121,7 @@ def model_inference(input_dict, history):
|
|
| 121 |
thread.start()
|
| 122 |
|
| 123 |
buffer = ""
|
| 124 |
-
yield "
|
| 125 |
for new_text in streamer:
|
| 126 |
buffer += new_text
|
| 127 |
buffer = buffer.replace("<|im_end|>", "")
|
|
|
|
| 42 |
else:
|
| 43 |
# For simplicity, use the first provided image.
|
| 44 |
image = load_image(files[0])
|
| 45 |
+
yield " > Processing with Aya-Vision ββββββββββ 69%"
|
| 46 |
messages = [{
|
| 47 |
"role": "user",
|
| 48 |
"content": [
|
|
|
|
| 121 |
thread.start()
|
| 122 |
|
| 123 |
buffer = ""
|
| 124 |
+
yield " > Processing with Qwen2VL Ocr ββββββββββ 69%"
|
| 125 |
for new_text in streamer:
|
| 126 |
buffer += new_text
|
| 127 |
buffer = buffer.replace("<|im_end|>", "")
|