Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ if torch.cuda.is_available():
|
|
29 |
def generate(
|
30 |
message: str,
|
31 |
chat_history: list[tuple[str, str]],
|
|
|
32 |
max_new_tokens: int = 1024,
|
33 |
temperature: float = 0.6,
|
34 |
top_p: float = 0.9,
|
|
|
29 |
def generate(
|
30 |
message: str,
|
31 |
chat_history: list[tuple[str, str]],
|
32 |
+
system_prompt: str,
|
33 |
max_new_tokens: int = 1024,
|
34 |
temperature: float = 0.6,
|
35 |
top_p: float = 0.9,
|