Update app.py
Browse files
app.py
CHANGED
|
@@ -46,8 +46,8 @@ def process(title, summary):
|
|
| 46 |
probs = torch.exp(out[0])
|
| 47 |
return probs
|
| 48 |
|
| 49 |
-
title = st.text_area("Title")
|
| 50 |
|
| 51 |
-
summary = st.text_area("Summary")
|
| 52 |
|
| 53 |
st.markdown(f"{process(title, summary)}")
|
|
|
|
| 46 |
probs = torch.exp(out[0])
|
| 47 |
return probs
|
| 48 |
|
| 49 |
+
title = st.text_area("Title", rows=2)
|
| 50 |
|
| 51 |
+
summary = st.text_area("Summary", rows=6)
|
| 52 |
|
| 53 |
st.markdown(f"{process(title, summary)}")
|