Spaces:
Build error
Build error
removed requirements.txt hack
Browse files- app.py +0 -10
- requirements.txt +7 -7
app.py
CHANGED
@@ -1,11 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
import streamlit.components.v1 as components
|
3 |
-
<<<<<<< HEAD
|
4 |
-
=======
|
5 |
-
import networkx as nx
|
6 |
-
import matplotlib.pyplot as plt
|
7 |
-
from pyvis.network import Network
|
8 |
-
>>>>>>> 91c8e568c30c6d6761629f102cbb617239e13d26
|
9 |
import rebel
|
10 |
import wikipedia
|
11 |
from utils import clip_text
|
@@ -26,10 +20,6 @@ wiki_state_variables = {
|
|
26 |
free_text_state_variables = {
|
27 |
'has_run_free': False,
|
28 |
"html_free": ""
|
29 |
-
<<<<<<< HEAD
|
30 |
-
=======
|
31 |
-
|
32 |
-
>>>>>>> 91c8e568c30c6d6761629f102cbb617239e13d26
|
33 |
}
|
34 |
|
35 |
BUTTON_COLUMS = 4
|
|
|
1 |
import streamlit as st
|
2 |
import streamlit.components.v1 as components
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
import rebel
|
4 |
import wikipedia
|
5 |
from utils import clip_text
|
|
|
20 |
free_text_state_variables = {
|
21 |
'has_run_free': False,
|
22 |
"html_free": ""
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
BUTTON_COLUMS = 4
|
requirements.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
streamlit
|
2 |
-
matplotlib
|
3 |
pyvis==0.1.9
|
4 |
-
networkx
|
5 |
-
transformers
|
6 |
-
spacy
|
7 |
-
wikipedia
|
8 |
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0.tar.gz#egg=en_core_web_sm
|
9 |
-
|
|
|
1 |
+
streamlit==1.24.1
|
2 |
+
matplotlib==3.7.2
|
3 |
pyvis==0.1.9
|
4 |
+
networkx==3.1
|
5 |
+
transformers==4.30.2
|
6 |
+
spacy==3.2.6
|
7 |
+
wikipedia==1.4.0
|
8 |
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0.tar.gz#egg=en_core_web_sm
|
9 |
+
streamlit==1.24.1
|