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.c56dfbe5.js β main.f9194211.js} +0 -0
- react-qa/build/static/js/{main.c56dfbe5.js.LICENSE.txt β main.f9194211.js.LICENSE.txt} +0 -0
- react-qa/build/static/js/{main.c56dfbe5.js.map β main.f9194211.js.map} +0 -0
- react-qa/src/App.js +1 -1
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.572222cd.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.572222cd.css.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.572222cd.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.572222cd.css",
|
13 |
-
"static/js/main.
|
14 |
]
|
15 |
}
|
|
|
1 |
{
|
2 |
"files": {
|
3 |
"main.css": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.572222cd.css",
|
4 |
+
"main.js": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.f9194211.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.572222cd.css.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.572222cd.css.map",
|
8 |
+
"main.f9194211.js.map": "/embed/p208p2002/Transformer-QA-Decode-Visualize/static/js/main.f9194211.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.572222cd.css",
|
13 |
+
"static/js/main.f9194211.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.f9194211.js"></script><link href="/embed/p208p2002/Transformer-QA-Decode-Visualize/static/css/main.572222cd.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.c56dfbe5.js β main.f9194211.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
react-qa/build/static/js/{main.c56dfbe5.js.LICENSE.txt β main.f9194211.js.LICENSE.txt}
RENAMED
File without changes
|
react-qa/build/static/js/{main.c56dfbe5.js.map β main.f9194211.js.map}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
react-qa/src/App.js
CHANGED
@@ -6,7 +6,7 @@ const axios = require('axios').default;
|
|
6 |
function App() {
|
7 |
|
8 |
const [qa_data, set_qa_data] = useState([[]])
|
9 |
-
const [question, set_question] = useState("Who
|
10 |
const [context, set_context] = useState("Harry Potter is a series of seven fantasy novels written by British author J. K. Rowling. The novels chronicle the lives of a young wizard, Harry Potter, and his friends Hermione Granger and Ron Weasley, all of whom are students at Hogwarts School of Witchcraft and Wizardry. The main story arc concerns Harry's struggle against Lord Voldemort, a dark wizard who intends to become immortal, overthrow the wizard governing body known as the Ministry of Magic and subjugate all wizards and Muggles (non-magical people).")
|
11 |
|
12 |
let request_qa_data = (e,_question=question,_context=context) => {
|
|
|
6 |
function App() {
|
7 |
|
8 |
const [qa_data, set_qa_data] = useState([[]])
|
9 |
+
const [question, set_question] = useState("Who is the bad guy ?")
|
10 |
const [context, set_context] = useState("Harry Potter is a series of seven fantasy novels written by British author J. K. Rowling. The novels chronicle the lives of a young wizard, Harry Potter, and his friends Hermione Granger and Ron Weasley, all of whom are students at Hogwarts School of Witchcraft and Wizardry. The main story arc concerns Harry's struggle against Lord Voldemort, a dark wizard who intends to become immortal, overthrow the wizard governing body known as the Ministry of Magic and subjugate all wizards and Muggles (non-magical people).")
|
11 |
|
12 |
let request_qa_data = (e,_question=question,_context=context) => {
|