Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,9 +28,9 @@ if torch.cuda.is_available():
|
|
28 |
def generate(
|
29 |
message: str,
|
30 |
chat_history: list[tuple[str, str]],
|
31 |
-
system_prompt: str = "",
|
32 |
max_new_tokens: int = 1024,
|
33 |
-
temperature: float =
|
34 |
top_p: float = 0.95,
|
35 |
top_k: int = 50,
|
36 |
repetition_penalty: float = 1.0,
|
|
|
28 |
def generate(
|
29 |
message: str,
|
30 |
chat_history: list[tuple[str, str]],
|
31 |
+
system_prompt: str = "Your Name is Aether-7B",
|
32 |
max_new_tokens: int = 1024,
|
33 |
+
temperature: float = 1,
|
34 |
top_p: float = 0.95,
|
35 |
top_k: int = 50,
|
36 |
repetition_penalty: float = 1.0,
|