Spaces:
Running
on
Zero
Running
on
Zero
MaziyarPanahi
commited on
Commit
•
5b94061
1
Parent(s):
2d6886d
Update app.py
Browse files
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")
|