Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,9 +43,9 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
43 |
|
44 |
@spaces.GPU()
|
45 |
def stream_chat(
|
46 |
-
system_prompt: str,
|
47 |
message: str,
|
48 |
-
history: list,
|
|
|
49 |
temperature: float = 0.3,
|
50 |
max_new_tokens: int = 256,
|
51 |
top_p: float = 1.0,
|
|
|
43 |
|
44 |
@spaces.GPU()
|
45 |
def stream_chat(
|
|
|
46 |
message: str,
|
47 |
+
history: list,
|
48 |
+
system_prompt: str,
|
49 |
temperature: float = 0.3,
|
50 |
max_new_tokens: int = 256,
|
51 |
top_p: float = 1.0,
|