armandstrickernlp commited on
Commit
edf24d3
·
1 Parent(s): 95c7e6e

create app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,8 +23,8 @@ 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.\
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