Spaces:
Runtime error
Runtime error
Vaibhav Srivastav
commited on
Commit
•
4ffb297
1
Parent(s):
6fa5b25
adding examples
Browse files
app.py
CHANGED
@@ -32,9 +32,13 @@ iface = gr.Interface(fn=return_predictions,
|
|
32 |
gr.outputs.Textbox(label="Fluency"),
|
33 |
gr.outputs.Textbox(label="Coherence"),
|
34 |
gr.outputs.Textbox(label="Style")],
|
35 |
-
title="
|
36 |
-
description = "
|
37 |
-
layout = "horizontal",
|
|
|
|
|
|
|
|
|
38 |
theme="huggingface",
|
39 |
enable_queue=True)
|
40 |
iface.launch()
|
|
|
32 |
gr.outputs.Textbox(label="Fluency"),
|
33 |
gr.outputs.Textbox(label="Coherence"),
|
34 |
gr.outputs.Textbox(label="Style")],
|
35 |
+
title="IteraTeR: Understanding Iterative Revision from Human-Written text",
|
36 |
+
description = "The model (pegasus-large) generates a revised sentence based on a given intention!",
|
37 |
+
layout = "horizontal",
|
38 |
+
examples = ["The changes made the paper better than before.",
|
39 |
+
"She went to the markt",
|
40 |
+
"She works hard. She is successful.",
|
41 |
+
"Everything was rotten."],
|
42 |
theme="huggingface",
|
43 |
enable_queue=True)
|
44 |
iface.launch()
|