Spaces:
Runtime error
Runtime error
nitinbhayana
commited on
Commit
•
271399f
1
Parent(s):
716f60f
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,8 @@ Create a new, easy-to-read, error-free title.
|
|
27 |
Suggested Title:
|
28 |
"""
|
29 |
predictions = pipeline(prompt)
|
30 |
-
|
|
|
31 |
|
32 |
gr.Interface(
|
33 |
predict,
|
|
|
27 |
Suggested Title:
|
28 |
"""
|
29 |
predictions = pipeline(prompt)
|
30 |
+
output=(predictions[0]['generated_text']).split('Suggested Title:')[-1]
|
31 |
+
return (output)
|
32 |
|
33 |
gr.Interface(
|
34 |
predict,
|