Update main.py
Browse files
main.py
CHANGED
@@ -98,7 +98,6 @@ def analyze_with_gemini(image_path, user_text):
|
|
98 |
organ = PIL.Image.open(image_path)
|
99 |
chat = model.start_chat(history=history)
|
100 |
response = chat.send_message([user_text, organ])
|
101 |
-
GeneAI = out
|
102 |
history.append({"role": "user", "parts": [user_text]})
|
103 |
history.append({"role": "model", "parts": [response.parts[0].text]})
|
104 |
|
|
|
98 |
organ = PIL.Image.open(image_path)
|
99 |
chat = model.start_chat(history=history)
|
100 |
response = chat.send_message([user_text, organ])
|
|
|
101 |
history.append({"role": "user", "parts": [user_text]})
|
102 |
history.append({"role": "model", "parts": [response.parts[0].text]})
|
103 |
|