Ketengan-Diffusion-Lab commited on
Commit
2ced89b
1 Parent(s): 9a6305d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -165,6 +165,13 @@ def inference_dolphin(prompt, image, temperature, beam_size, system_instruction)
165
  use_cache=True
166
  )[0]
167
 
 
 
 
 
 
 
 
168
  return tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip()
169
 
170
  # --- Gradio Interface ---
 
165
  use_cache=True
166
  )[0]
167
 
168
+ # Debug logging
169
+ print(f"--- Dolphin Vision Debug ---")
170
+ print(f"Prompt: {prompt}")
171
+ print(f"Temperature: {temperature}")
172
+ print(f"Beam Size: {beam_size}")
173
+ print(f"----------------------------")
174
+
175
  return tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip()
176
 
177
  # --- Gradio Interface ---