Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import nltk
|
|
4 |
import math
|
5 |
import torch
|
6 |
|
7 |
-
|
8 |
-
model_name = "momoyukki/t5-base-news-title-generation_model"
|
9 |
max_input_length = 512
|
10 |
|
11 |
st.header("News Title Generation")
|
|
|
4 |
import math
|
5 |
import torch
|
6 |
|
7 |
+
model_name = "fabiochiu/t5-base-medium-title-generation"
|
8 |
+
#model_name = "momoyukki/t5-base-news-title-generation_model"
|
9 |
max_input_length = 512
|
10 |
|
11 |
st.header("News Title Generation")
|