Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-029
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-029
2023-029
Commits
aedf9e44
Commit
aedf9e44
authored
Oct 30, 2023
by
Sumudu-Himasha-Ranaweera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final commit
parent
39585be5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Project/Frontend/SignConnectPlus/src/pages/video-to-sign-language/TextTranslate/TextTranslate.tsx
...es/video-to-sign-language/TextTranslate/TextTranslate.tsx
+2
-1
Project/Frontend/SignConnectPlus/src/pages/video-to-sign-language/VideoTranslate/VideoTranslate.tsx
.../video-to-sign-language/VideoTranslate/VideoTranslate.tsx
+4
-4
No files found.
Project/Frontend/SignConnectPlus/src/pages/video-to-sign-language/TextTranslate/TextTranslate.tsx
View file @
aedf9e44
...
...
@@ -42,6 +42,7 @@ const TextTranslate = () => {
const
[
showUnityWebGL
,
setShowUnityWebGL
]
=
useState
(
false
);
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
showAvatarImage
,
setShowAvatarImage
]
=
useState
(
true
);
const
FormSchema
=
Yup
.
object
().
shape
({
userInputText
:
Yup
.
string
()
...
...
@@ -85,7 +86,7 @@ const TextTranslate = () => {
console
.
error
(
"
Request failed with status code:
"
,
response
.
status
);
}
resetForm
()
//
resetForm()
setSubmitting
(
false
);
}
catch
(
error
)
{
console
.
error
(
error
);
...
...
Project/Frontend/SignConnectPlus/src/pages/video-to-sign-language/VideoTranslate/VideoTranslate.tsx
View file @
aedf9e44
...
...
@@ -173,16 +173,16 @@ const VideoTranslate = () => {
<
Button
variant=
"contained"
style=
{
{
width
:
'
1
8
0px
'
,
height
:
'
5
0px
'
,
fontSize
:
'
20
px
'
,
width
:
'
1
5
0px
'
,
height
:
'
4
0px
'
,
fontSize
:
'
18
px
'
,
}
}
sx=
{
{
mb
:
3
}
}
disabled=
{
loading
}
onClick=
{
uploadVideo
}
end
Icon=
{
<
TranslationOutlined
/>
}
start
Icon=
{
<
TranslationOutlined
/>
}
>
Translate
</
Button
>
...
...
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