Spaces:
Runtime error
Runtime error
Update
Browse files- react-qa/build/asset-manifest.json +3 -3
- react-qa/build/index.html +1 -1
- react-qa/build/static/js/{main.8567f65c.js β main.a8f287a8.js} +0 -0
- react-qa/build/static/js/{main.8567f65c.js.LICENSE.txt β main.a8f287a8.js.LICENSE.txt} +0 -0
- react-qa/build/static/js/{main.8567f65c.js.map β main.a8f287a8.js.map} +0 -0
- react-qa/src/App.js +10 -3
react-qa/build/asset-manifest.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
{
|
2 |
"files": {
|
3 |
"main.css": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.94510c01.css",
|
4 |
-
"main.js": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.
|
5 |
"static/js/787.e7ee5088.chunk.js": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/787.e7ee5088.chunk.js",
|
6 |
"index.html": "/embed/p208p2002/Transformer-QA-Decode-Visualize/index.html",
|
7 |
"main.94510c01.css.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.94510c01.css.map",
|
8 |
-
"main.
|
9 |
"787.e7ee5088.chunk.js.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/787.e7ee5088.chunk.js.map"
|
10 |
},
|
11 |
"entrypoints": [
|
12 |
"static/css/main.94510c01.css",
|
13 |
-
"static/js/main.
|
14 |
]
|
15 |
}
|
|
|
1 |
{
|
2 |
"files": {
|
3 |
"main.css": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.94510c01.css",
|
4 |
+
"main.js": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.a8f287a8.js",
|
5 |
"static/js/787.e7ee5088.chunk.js": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/787.e7ee5088.chunk.js",
|
6 |
"index.html": "/embed/p208p2002/Transformer-QA-Decode-Visualize/index.html",
|
7 |
"main.94510c01.css.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.94510c01.css.map",
|
8 |
+
"main.a8f287a8.js.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.a8f287a8.js.map",
|
9 |
"787.e7ee5088.chunk.js.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/787.e7ee5088.chunk.js.map"
|
10 |
},
|
11 |
"entrypoints": [
|
12 |
"static/css/main.94510c01.css",
|
13 |
+
"static/js/main.a8f287a8.js"
|
14 |
]
|
15 |
}
|
react-qa/build/index.html
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/embed/p208p2002/Transformer-QA-Decode-Visualize/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/embed/p208p2002/Transformer-QA-Decode-Visualize/logo192.png"/><link rel="manifest" href="/embed/p208p2002/Transformer-QA-Decode-Visualize/manifest.json"/><title>React App</title><script defer="defer" src="/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.
|
|
|
1 |
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/embed/p208p2002/Transformer-QA-Decode-Visualize/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/embed/p208p2002/Transformer-QA-Decode-Visualize/logo192.png"/><link rel="manifest" href="/embed/p208p2002/Transformer-QA-Decode-Visualize/manifest.json"/><title>React App</title><script defer="defer" src="/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.a8f287a8.js"></script><link href="/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.94510c01.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
react-qa/build/static/js/{main.8567f65c.js β main.a8f287a8.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
react-qa/build/static/js/{main.8567f65c.js.LICENSE.txt β main.a8f287a8.js.LICENSE.txt}
RENAMED
File without changes
|
react-qa/build/static/js/{main.8567f65c.js.map β main.a8f287a8.js.map}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
react-qa/src/App.js
CHANGED
@@ -38,7 +38,7 @@ function App() {
|
|
38 |
name=""
|
39 |
id=""
|
40 |
cols="80"
|
41 |
-
rows="
|
42 |
value={context}
|
43 |
onChange={(e)=>{
|
44 |
set_context(e.target.value)
|
@@ -61,7 +61,7 @@ function App() {
|
|
61 |
<p>{question}</p>
|
62 |
<HlList
|
63 |
data={{
|
64 |
-
result: qa_data[0].slice(0,
|
65 |
}}
|
66 |
color='yellow' />
|
67 |
<hr />
|
@@ -72,11 +72,18 @@ function App() {
|
|
72 |
context={context}>
|
73 |
<HlLayer
|
74 |
data={{
|
75 |
-
result: qa_data[0].slice(0,
|
76 |
context: context
|
77 |
}}
|
78 |
color='yellow'
|
79 |
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
</HlLayerContainer >
|
81 |
|
82 |
</div>
|
|
|
38 |
name=""
|
39 |
id=""
|
40 |
cols="80"
|
41 |
+
rows="8"
|
42 |
value={context}
|
43 |
onChange={(e)=>{
|
44 |
set_context(e.target.value)
|
|
|
61 |
<p>{question}</p>
|
62 |
<HlList
|
63 |
data={{
|
64 |
+
result: qa_data[0].slice(0, 5)
|
65 |
}}
|
66 |
color='yellow' />
|
67 |
<hr />
|
|
|
72 |
context={context}>
|
73 |
<HlLayer
|
74 |
data={{
|
75 |
+
result: qa_data[0].slice(0, 5),
|
76 |
context: context
|
77 |
}}
|
78 |
color='yellow'
|
79 |
/>
|
80 |
+
<HlLayer
|
81 |
+
data={{
|
82 |
+
result: qa_data[0].slice(0, 1),
|
83 |
+
context: context
|
84 |
+
}}
|
85 |
+
color='orange'
|
86 |
+
/>
|
87 |
</HlLayerContainer >
|
88 |
|
89 |
</div>
|