prithivMLmods commited on
Commit
02c63c5
Β·
verified Β·
1 Parent(s): b4542bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 "🎈 Processing with Aya-Vision β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’ 69%"
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 "Thinking..."
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|>", "")