sandz7 commited on
Commit
76ffffc
Β·
verified Β·
1 Parent(s): 317d81f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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