Spaces:
Runtime error
Runtime error
armandstrickernlp
commited on
Commit
·
81c073c
1
Parent(s):
30aaf10
add examples
Browse files
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=
|
| 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 |
)
|