Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ res = os.popen('python -m spacy download en_core_web_sm').read()
|
|
| 6 |
print(res)
|
| 7 |
|
| 8 |
|
|
|
|
| 9 |
def compressit(original_text, compressor1, ratio, maxlength):
|
| 10 |
|
| 11 |
if compressor1=="Selective Context":
|
|
|
|
| 6 |
print(res)
|
| 7 |
|
| 8 |
|
| 9 |
+
# main function
|
| 10 |
def compressit(original_text, compressor1, ratio, maxlength):
|
| 11 |
|
| 12 |
if compressor1=="Selective Context":
|