Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ def predict(input):
|
|
| 12 |
return prediction
|
| 13 |
|
| 14 |
|
| 15 |
-
app = gr.Interface(fn=predict, inputs=[gr.Textbox(label="Email", lines=
|
| 16 |
-
outputs=[gr.Textbox(label="Subject", lines=
|
| 17 |
title="EmailSubjectLineGeneration",
|
| 18 |
description="EmailSubjectLineGeneration with GPT2"
|
| 19 |
)
|
|
|
|
| 12 |
return prediction
|
| 13 |
|
| 14 |
|
| 15 |
+
app = gr.Interface(fn=predict, inputs=[gr.Textbox(label="Email", lines=15)],
|
| 16 |
+
outputs=[gr.Textbox(label="Subject", lines=15)],
|
| 17 |
title="EmailSubjectLineGeneration",
|
| 18 |
description="EmailSubjectLineGeneration with GPT2"
|
| 19 |
)
|