armandstrickernlp commited on
Commit
6d92dc9
·
1 Parent(s): 1a42a3d

add example

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -20,6 +20,7 @@ iface = gr.Interface(fn=generate_response,
20
  inputs="text",
21
  outputs="text",
22
  title="gpt2-TOD",
 
23
  description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
24
  )
25
  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()