vilarin commited on
Commit
26414d9
·
verified ·
1 Parent(s): 0a54041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def process_image(image_input, unit):
109
  response = model.generate_content([f" You are a experienced {unit} doctor." + SYS_PROMPT + "Help me understand what is in this picture and analysis.", image_input])
110
  return response.text
111
 
112
- def main(text_input="", image_input=None, unit=""):
113
  if text_input and image_input is None:
114
  return process_text(text_input,unit)
115
  elif image_input is not None:
 
109
  response = model.generate_content([f" You are a experienced {unit} doctor." + SYS_PROMPT + "Help me understand what is in this picture and analysis.", image_input])
110
  return response.text
111
 
112
+ def main(api_key="", text_input="", image_input=None, unit=""):
113
  if text_input and image_input is None:
114
  return process_text(text_input,unit)
115
  elif image_input is not None: