Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,6 @@ def get_doc_topics_old(d):
|
|
| 11 |
t = inf_model(d)
|
| 12 |
return [f for i, f in enumerate(features) if t[0][i]]
|
| 13 |
|
| 14 |
-
|
| 15 |
def get_comment_topics_old(comment):
|
| 16 |
sent_topics = []
|
| 17 |
for s in sent_tokenize(comment):
|
|
@@ -34,5 +33,5 @@ app = gr.Interface(
|
|
| 34 |
["I thoughts the lectures were sometimes boring but the library was great!"]
|
| 35 |
])
|
| 36 |
)
|
| 37 |
-
|
| 38 |
app.launch()
|
|
|
|
| 11 |
t = inf_model(d)
|
| 12 |
return [f for i, f in enumerate(features) if t[0][i]]
|
| 13 |
|
|
|
|
| 14 |
def get_comment_topics_old(comment):
|
| 15 |
sent_topics = []
|
| 16 |
for s in sent_tokenize(comment):
|
|
|
|
| 33 |
["I thoughts the lectures were sometimes boring but the library was great!"]
|
| 34 |
])
|
| 35 |
)
|
| 36 |
+
|
| 37 |
app.launch()
|