Spaces:
Sleeping
Sleeping
ljyflores
commited on
Commit
·
051e3d4
1
Parent(s):
06ffb15
Update app file
Browse files
app.py
CHANGED
@@ -62,6 +62,8 @@ if st.button("Simplify!"):
|
|
62 |
model_outputs_baseline = predict(st.session_state.text, pipeline_baseline)[0]["generated_text"]
|
63 |
st.write(f"Baseline: {clean(model_outputs_baseline)}")
|
64 |
|
|
|
|
|
65 |
pipeline_ul = load(dataset_option, "ul")
|
66 |
model_outputs_ul = predict(st.session_state.text, pipeline_ul)[0]["generated_text"]
|
67 |
st.write(f"Unlikelihood Learning: {clean(model_outputs_ul)}")
|
|
|
62 |
model_outputs_baseline = predict(st.session_state.text, pipeline_baseline)[0]["generated_text"]
|
63 |
st.write(f"Baseline: {clean(model_outputs_baseline)}")
|
64 |
|
65 |
+
del pipeline_baseline, model_outputs_baseline
|
66 |
+
|
67 |
pipeline_ul = load(dataset_option, "ul")
|
68 |
model_outputs_ul = predict(st.session_state.text, pipeline_ul)[0]["generated_text"]
|
69 |
st.write(f"Unlikelihood Learning: {clean(model_outputs_ul)}")
|