Spaces:
Running
on
Zero
Running
on
Zero
zR
commited on
Commit
•
040e362
1
Parent(s):
302a2aa
update
Browse files
app.py
CHANGED
@@ -75,7 +75,6 @@ def predict(history, max_length, top_p, temperature, image=None):
|
|
75 |
}
|
76 |
if image and isinstance(pixel_values, torch.Tensor):
|
77 |
generate_kwargs['pixel_values'] = pixel_values
|
78 |
-
print(generate_kwargs)
|
79 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
80 |
t.start()
|
81 |
for new_token in streamer:
|
|
|
75 |
}
|
76 |
if image and isinstance(pixel_values, torch.Tensor):
|
77 |
generate_kwargs['pixel_values'] = pixel_values
|
|
|
78 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
79 |
t.start()
|
80 |
for new_token in streamer:
|