davanstrien HF staff commited on
Commit
d334b52
·
verified ·
1 Parent(s): 73f430f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def generate_response(image):
130
  return json.loads(output_text[0])
131
  except Exception:
132
  gr.Warning("Failed to parse JSON from output")
133
- return {}
134
 
135
 
136
  title = "ColPali Query Generator using Qwen2.5-VL"
 
130
  return json.loads(output_text[0])
131
  except Exception:
132
  gr.Warning("Failed to parse JSON from output")
133
+ return output_text[0]
134
 
135
 
136
  title = "ColPali Query Generator using Qwen2.5-VL"