gauravgulati619 aryanxxvii commited on
Commit
c9467a8
·
verified ·
1 Parent(s): b82656e

Update app.py (#1)

Browse files

- Update app.py (d85bde9436917dbbed36cb4e824ff3aa79ab230d)


Co-authored-by: Aryan Wadhawan <aryanxxvii@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ def process_inputs(audio_filepath, image_filepath):
126
  # Handle the image input
127
  if image_filepath:
128
  enhanced_prompt = get_enhanced_prompt(speech_to_text_output, context)
129
- doctor_response = analyze_image_with_query(query=enhanced_prompt, encoded_image=encode_image(image_filepath), model="llama-3.2-11b-vision-preview")
130
  else:
131
  doctor_response = "No image provided for me to analyze"
132
 
 
126
  # Handle the image input
127
  if image_filepath:
128
  enhanced_prompt = get_enhanced_prompt(speech_to_text_output, context)
129
+ doctor_response = analyze_image_with_query(query=enhanced_prompt, encoded_image=encode_image(image_filepath), model="llama-3.2-90b-vision-preview")
130
  else:
131
  doctor_response = "No image provided for me to analyze"
132