Spaces:
Sleeping
Sleeping
armandstrickernlp
commited on
Commit
·
86a2758
1
Parent(s):
6d92dc9
add example
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ iface = gr.Interface(fn=generate_response,
|
|
20 |
inputs="text",
|
21 |
outputs="text",
|
22 |
title="gpt2-TOD",
|
23 |
-
examples="<|context|> <|user|> I'm super hungry ! I want to go to the restaurant.<|endofcontext|>",
|
24 |
description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
|
25 |
)
|
26 |
iface.launch()
|
|
|
20 |
inputs="text",
|
21 |
outputs="text",
|
22 |
title="gpt2-TOD",
|
23 |
+
examples=[["<|context|> <|user|> I'm super hungry ! I want to go to the restaurant.<|endofcontext|>"]],
|
24 |
description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
|
25 |
)
|
26 |
iface.launch()
|