Spaces:
Runtime error
Runtime error
trying again
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from spacy.symbols import *
|
|
3 |
import streamlit as st
|
4 |
import html
|
5 |
import spacy
|
6 |
-
|
7 |
|
8 |
from htbuilder import H, HtmlElement, styles
|
9 |
from htbuilder.units import unit
|
@@ -37,7 +37,7 @@ OPACITIES = [
|
|
37 |
|
38 |
DEFAULT_TEXT = """AI has reached superhuman levels in various areas such as playing complex strategic and video games, calculating protein folding, and visual recognition. Are we close to superhuman levels in conversational AI as well?"""
|
39 |
|
40 |
-
spacy_model = "en_core_web_sm"
|
41 |
|
42 |
replacement_dict= {
|
43 |
"superhuman levels" : "high accuracy",
|
|
|
3 |
import streamlit as st
|
4 |
import html
|
5 |
import spacy
|
6 |
+
|
7 |
|
8 |
from htbuilder import H, HtmlElement, styles
|
9 |
from htbuilder.units import unit
|
|
|
37 |
|
38 |
DEFAULT_TEXT = """AI has reached superhuman levels in various areas such as playing complex strategic and video games, calculating protein folding, and visual recognition. Are we close to superhuman levels in conversational AI as well?"""
|
39 |
|
40 |
+
spacy_model = spacy.load("en_core_web_sm")
|
41 |
|
42 |
replacement_dict= {
|
43 |
"superhuman levels" : "high accuracy",
|