Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#11
by
MaziyarPanahi
- opened
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")
|