Spaces:
Sleeping
Sleeping
Lillian McAboy commited on
Commit ·
5c59b8c
1
Parent(s): 401c755
added summarize
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ new_text = st.text_area("New Document", help="Leave this blank, this will be upd
|
|
| 35 |
|
| 36 |
def get_spans_local(formality_name, original_text, new_text):
|
| 37 |
tokenizer = get_tokenizer(model)
|
| 38 |
-
|
| 39 |
|
| 40 |
messages = [
|
| 41 |
{
|
|
|
|
| 35 |
|
| 36 |
def get_spans_local(formality_name, original_text, new_text):
|
| 37 |
tokenizer = get_tokenizer(model)
|
| 38 |
+
mymodel = get_model(model)
|
| 39 |
|
| 40 |
messages = [
|
| 41 |
{
|