Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def humanize_text(input_text):
|
|
| 13 |
"""
|
| 14 |
|
| 15 |
# Choose a suitable model (you might need to experiment)
|
| 16 |
-
model_name = "
|
| 17 |
|
| 18 |
try:
|
| 19 |
humanizer = pipeline("text2text-generation", model=model_name)
|
|
|
|
| 13 |
"""
|
| 14 |
|
| 15 |
# Choose a suitable model (you might need to experiment)
|
| 16 |
+
model_name = "google/flan-t5-large" # Or try other summarization/generation models
|
| 17 |
|
| 18 |
try:
|
| 19 |
humanizer = pipeline("text2text-generation", model=model_name)
|