orrinin commited on
Commit
fde171a
·
verified ·
1 Parent(s): 02797a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def process_image(image_input, unit):
65
  client = Client(client_vl)
66
  prompt = f" You are a experienced {unit} doctor AI assistant." + SYS_PROMPT + "Help me understand what is in this picture and analysis."
67
  response = client.predict(
68
- file(image),
69
  prompt,
70
  fn_index=0
71
  )
 
65
  client = Client(client_vl)
66
  prompt = f" You are a experienced {unit} doctor AI assistant." + SYS_PROMPT + "Help me understand what is in this picture and analysis."
67
  response = client.predict(
68
+ image,
69
  prompt,
70
  fn_index=0
71
  )