Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,5 +76,5 @@ if "model_name" not in st.session_state.keys():
|
|
76 |
text = st.text_area("Enter text to summarize here.")
|
77 |
|
78 |
if text:
|
79 |
-
out = get_answer(
|
80 |
st.write(out)
|
|
|
76 |
text = st.text_area("Enter text to summarize here.")
|
77 |
|
78 |
if text:
|
79 |
+
out = get_answer(st.session_state["model"], text)
|
80 |
st.write(out)
|