Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,8 @@ def underline_diff(a,b):
|
|
| 24 |
output.append("<ins>" + ' '.join(seqm.b[b0:b1]) + "</ins>") # + " <del>" + ' '.join(seqm.a[a0:a1]) + "</del>")
|
| 25 |
return ' '.join(output)
|
| 26 |
|
| 27 |
-
|
|
|
|
| 28 |
|
| 29 |
st.title("Virtual tutor - Proof of concept")
|
| 30 |
|
|
|
|
| 24 |
output.append("<ins>" + ' '.join(seqm.b[b0:b1]) + "</ins>") # + " <del>" + ' '.join(seqm.a[a0:a1]) + "</del>")
|
| 25 |
return ' '.join(output)
|
| 26 |
|
| 27 |
+
with open("examples.txt", "r") as f:
|
| 28 |
+
example_sentences = f.readlines()
|
| 29 |
|
| 30 |
st.title("Virtual tutor - Proof of concept")
|
| 31 |
|