Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ def krypton(input, history):
|
|
46 |
prompt = f"user\n\n<image>\n{input['text']}\nassistant\n\n"
|
47 |
print("made the prompt")
|
48 |
image = Image.open(image)
|
|
|
49 |
inputs = processor(prompt, images=image, return_tensors='pt').to(0, torch.float16)
|
50 |
|
51 |
# Streamer
|
|
|
46 |
prompt = f"user\n\n<image>\n{input['text']}\nassistant\n\n"
|
47 |
print("made the prompt")
|
48 |
image = Image.open(image)
|
49 |
+
print(f"image open: {image}")
|
50 |
inputs = processor(prompt, images=image, return_tensors='pt').to(0, torch.float16)
|
51 |
|
52 |
# Streamer
|