Spaces:
Sleeping
Sleeping
armandstrickernlp
commited on
Commit
·
df31e0e
1
Parent(s):
edf24d3
create app
Browse files
app.py
CHANGED
@@ -23,8 +23,7 @@ iface = gr.Interface(fn=generate_response,
|
|
23 |
outputs="text",
|
24 |
title="gpt2-TOD",
|
25 |
examples=[["<|context|> <|user|> I'm super hungry ! I want to go to the restaurant.<|endofcontext|>"],
|
26 |
-
["<|context|> <|user|> I want to go to the restaurant
|
27 |
-
<|system|> What food would you like to eat ? <|user|> Italian sounds good. <|endofcontext|>"]],
|
28 |
description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
|
29 |
)
|
30 |
|
|
|
23 |
outputs="text",
|
24 |
title="gpt2-TOD",
|
25 |
examples=[["<|context|> <|user|> I'm super hungry ! I want to go to the restaurant.<|endofcontext|>"],
|
26 |
+
["<|context|> <|user|> I want to go to the restaurant. <|system|> What food would you like to eat ? <|user|> Italian sounds good. <|endofcontext|>"]],
|
|
|
27 |
description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
|
28 |
)
|
29 |
|