Charles De Dampierre
commited on
Commit
•
a3979ed
1
Parent(s):
62bb6b2
test
Browse files- README.md +1 -0
- src/TextContainer.jsx +2 -0
README.md
CHANGED
@@ -9,6 +9,7 @@ app_port: 3000
|
|
9 |
---
|
10 |
|
11 |
|
|
|
12 |
# BunkaTopics web app
|
13 |
|
14 |
This project was made to show the results of [BunkaTopics](https://github.com/charlesdedampierre/BunkaTopics).
|
|
|
9 |
---
|
10 |
|
11 |
|
12 |
+
|
13 |
# BunkaTopics web app
|
14 |
|
15 |
This project was made to show the results of [BunkaTopics](https://github.com/charlesdedampierre/BunkaTopics).
|
src/TextContainer.jsx
CHANGED
@@ -15,6 +15,8 @@ export const topicsSizeFraction = (topicsCentroids, topicSize) => {
|
|
15 |
return Math.round((topicSize / totalSize) * 100);
|
16 |
}
|
17 |
|
|
|
|
|
18 |
function TextContainer({ topicName, topicSizeFraction, content }) {
|
19 |
const [selectedDocument, setSelectedDocument] = useState(null);
|
20 |
const [searchQuery, setSearchQuery] = useState("");
|
|
|
15 |
return Math.round((topicSize / totalSize) * 100);
|
16 |
}
|
17 |
|
18 |
+
|
19 |
+
|
20 |
function TextContainer({ topicName, topicSizeFraction, content }) {
|
21 |
const [selectedDocument, setSelectedDocument] = useState(null);
|
22 |
const [searchQuery, setSearchQuery] = useState("");
|