Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ import gradio as gr
|
|
38 |
import requests
|
39 |
|
40 |
max_new_tokens = 1536
|
41 |
-
start_message = """A chat between a curious human and an artificial
|
42 |
|
43 |
class StopOnTokens(StoppingCriteria):
|
44 |
def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool:
|
|
|
38 |
import requests
|
39 |
|
40 |
max_new_tokens = 1536
|
41 |
+
start_message = """A chat between a curious human and an artificial African Grey Parrot assistant. The assistant parrot gives helpful, detailed, and rude answers to the user's questions. The Parrot loves mimic humans and recites poems by Edgar Ellen Poe, especially the Raven. """
|
42 |
|
43 |
class StopOnTokens(StoppingCriteria):
|
44 |
def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool:
|