Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
dc58ee3d
Commit
dc58ee3d
authored
Nov 16, 2022
by
tandin2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tan changes
parent
c9d83712
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
+20
-15
frontend/src/main/Home/home.js
frontend/src/main/Home/home.js
+1
-1
frontend/src/videoSumm/sumerzier.js
frontend/src/videoSumm/sumerzier.js
+19
-14
No files found.
frontend/src/main/Home/home.js
View file @
dc58ee3d
...
...
@@ -8,7 +8,7 @@ class Home extends Component {
<
div
className
=
"
home home_padding
"
>
<
div
className
=
"
home_content
"
>
<
h1
className
=
"
gradient_text
"
>
EDUCATIONAL
VIDEO
SUMMARIZER
AND
DIGITAL
HUMAN
ASSISTANT
<
/h1
>
<
p
>
Yet
bed
any
for
travelling
assistance
indulgence
unpleasing
.
Not
thoughts
all
exercise
blessing
.
Indulgence
way
everything
joy
alteration
boisterous
the
attachment
.
Party
we
years
to
order
allow
asked
of
.
<
/p
>
<
p
>
Education
can
'
t be there for limited people. It should be universally available. Starting from school to the area of meta-verus..
.</p>
</div>
</div>
</div>
...
...
frontend/src/videoSumm/sumerzier.js
View file @
dc58ee3d
...
...
@@ -34,20 +34,25 @@ function VideoSum() {
setLoadingStatus
(
true
)
const
formData
=
new
FormData
();
formData
.
append
(
'
video
'
,
video
);
fetch
(
"
http://127.0.0.1:1100/topic
"
,
{
method
:
'
POST
'
,
body
:
formData
,
})
.
then
(
response
=>
response
.
json
())
.
then
(
response
=>
{
setIndexingData
(
response
);
setButtonStatus
(
true
);
setLoadingStatus
(
false
)
})
.
catch
(
err
=>
{
console
.
log
(
err
);
setLoadingStatus
(
false
);
});
console
.
log
(
formData
)
// fetch("http://127.0.0.1:1100/topic", {
// method: 'POST',
// body: formData,
// })
// .then(response => response.json())
// .then(response => {
// setIndexingData(response);
// setButtonStatus(true);
// setLoadingStatus(false)
// })
// .catch(err => {
// console.log(err);
// setLoadingStatus(false);
// });
//temporary
setLoadingStatus
(
false
);
}
// console.log(indexingData)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment