Spaces:
Build error
Build error
Update app.py (#11)
Browse files- Update app.py (5b94061a172f89b335370ccf8eb5cc422dd4fa9d)
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def bot_streaming(message, history):
|
|
| 68 |
if prompt.endswith("<|endoftext|>"):
|
| 69 |
prompt = prompt.rstrip("<|endoftext|>")
|
| 70 |
|
| 71 |
-
print(f">>> Prompt\n{prompt}
|
| 72 |
|
| 73 |
image = Image.open(image)
|
| 74 |
inputs = processor(prompt, [image], return_tensors='pt').to("cuda:0")
|
|
|
|
| 68 |
if prompt.endswith("<|endoftext|>"):
|
| 69 |
prompt = prompt.rstrip("<|endoftext|>")
|
| 70 |
|
| 71 |
+
print(f">>> Prompt\n{prompt})")
|
| 72 |
|
| 73 |
image = Image.open(image)
|
| 74 |
inputs = processor(prompt, [image], return_tensors='pt').to("cuda:0")
|