Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,11 @@ pipe = pipeline("text-generation", model="guychuk/gpt2-dos")
|
|
6 |
|
7 |
def respond(
|
8 |
message,
|
|
|
|
|
|
|
|
|
|
|
9 |
):
|
10 |
return pipe(message)
|
11 |
|
|
|
6 |
|
7 |
def respond(
|
8 |
message,
|
9 |
+
history: list[tuple[str, str]],
|
10 |
+
system_message,
|
11 |
+
max_tokens,
|
12 |
+
temperature,
|
13 |
+
top_p,
|
14 |
):
|
15 |
return pipe(message)
|
16 |
|