Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ model = MllamaForConditionalGeneration.from_pretrained(ckpt,token=token,
|
|
| 15 |
processor = AutoProcessor.from_pretrained(ckpt,token=token)
|
| 16 |
|
| 17 |
|
| 18 |
-
|
| 19 |
def bot_streaming(message, history, max_new_tokens=250):
|
| 20 |
|
| 21 |
txt = message["text"]
|
|
|
|
| 15 |
processor = AutoProcessor.from_pretrained(ckpt,token=token)
|
| 16 |
|
| 17 |
|
| 18 |
+
@spaces.GPU
|
| 19 |
def bot_streaming(message, history, max_new_tokens=250):
|
| 20 |
|
| 21 |
txt = message["text"]
|