Spaces:
Sleeping
Sleeping
armandstrickernlp
commited on
Commit
·
d506c2a
1
Parent(s):
81c073c
add examples
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ import gradio as gr
|
|
18 |
|
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",
|
|
|
18 |
|
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",
|