Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#9
by
MaziyarPanahi
- opened
app.py
CHANGED
@@ -28,7 +28,7 @@ model = LlavaForConditionalGeneration.from_pretrained(
|
|
28 |
)
|
29 |
|
30 |
model.to("cuda:0")
|
31 |
-
model.generation_config.eos_token_id =
|
32 |
|
33 |
@spaces.GPU
|
34 |
def bot_streaming(message, history):
|
|
|
28 |
)
|
29 |
|
30 |
model.to("cuda:0")
|
31 |
+
model.generation_config.eos_token_id = 128009
|
32 |
|
33 |
@spaces.GPU
|
34 |
def bot_streaming(message, history):
|