Upload app.py
Browse files
app.py
CHANGED
@@ -50,12 +50,14 @@ iface = gr.Interface(
|
|
50 |
fn=generate_text,
|
51 |
inputs=gr.Textbox(lines=5, label="Input Text"),
|
52 |
outputs=gr.Textbox(lines=10, label="Generated Text"),
|
53 |
-
title="
|
54 |
-
description="Enter some text and the model will generate a continuation.",
|
55 |
examples=[
|
56 |
-
["
|
57 |
-
["
|
58 |
-
["
|
|
|
|
|
59 |
]
|
60 |
)
|
61 |
|
|
|
50 |
fn=generate_text,
|
51 |
inputs=gr.Textbox(lines=5, label="Input Text"),
|
52 |
outputs=gr.Textbox(lines=10, label="Generated Text"),
|
53 |
+
title="Text Generator",
|
54 |
+
description="Enter some text and the model will generate a Shakespeare-style continuation.",
|
55 |
examples=[
|
56 |
+
["To be, or not to be,"],
|
57 |
+
["All the world's a stage, and all the men"],
|
58 |
+
["But soft, what light through yonder"],
|
59 |
+
["Friends, Romans, countrymen,"],
|
60 |
+
["Now is the winter of our discontent"]
|
61 |
]
|
62 |
)
|
63 |
|