armandstrickernlp commited on
Commit
81c073c
·
1 Parent(s): 30aaf10

add examples

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -19,8 +19,7 @@ import gradio as gr
19
  iface = gr.Interface(fn=generate_response,
20
  inputs="text",
21
  outputs="text"
22
- examples=["<|context|> <|user|> I'm super hungry ! I want to go to the restaurant. <|system|> What food would you like to eat ? <|user|> Italian sounds good. <|endofcontext|>",
23
- "<|context|> <|user|> I'm super hungry ! I want to go to the restaurant.<|endofcontext|>"],
24
  title="gpt2-TOD",
25
  description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
26
  )
 
19
  iface = gr.Interface(fn=generate_response,
20
  inputs="text",
21
  outputs="text"
22
+ examples="<|context|> <|user|> I'm super hungry ! I want to go to the restaurant.<|endofcontext|>",
 
23
  title="gpt2-TOD",
24
  description="Passing in a task-oriented dialogue context generates a belief state, actions to take and a response based on those actions",
25
  )