upt: added new animatoe words

parent d0c249ae
This diff is collapsed.
...@@ -84,7 +84,7 @@ async def uploaded_video(file: UploadFile = File(...)): ...@@ -84,7 +84,7 @@ async def uploaded_video(file: UploadFile = File(...)):
return JSONResponse(content={"error": str(e)}, status_code=500) return JSONResponse(content={"error": str(e)}, status_code=500)
unicode_to_int_mapping = {"මම": 1, "හෙට": 2, "යනවා": 3, "මං": 4} unicode_to_int_mapping = {"මම": 1, "හෙට": 2, "යනවා": 3, "මං": 4,"ගුඩ්":5, "මෝනිං":6, "උඹ":7, "ආවේ":8, "ඇයි":9}
def translate_text(text, target_language): def translate_text(text, target_language):
......
...@@ -61,7 +61,8 @@ origins = [ ...@@ -61,7 +61,8 @@ origins = [
"http://localhost:51373", "http://localhost:51373",
"http://localhost:51489", "http://localhost:51489",
"https://v6p9d9t4.ssl.hwcdn.net", "https://v6p9d9t4.ssl.hwcdn.net",
"https://64f66d39fdef493229b2ddd9--lambent-unicorn-97396a.netlify.app" # "https://64f66d39fdef493229b2ddd9--lambent-unicorn-97396a.netlify.app",
"https://64f7cfd336356b18eb42de2b--lambent-unicorn-97396a.netlify.app"
] ]
app.add_middleware( app.add_middleware(
......
...@@ -271,7 +271,8 @@ const VideoTranslate = () => { ...@@ -271,7 +271,8 @@ const VideoTranslate = () => {
{/* Conditionally render the Unity WebGL build */} {/* Conditionally render the Unity WebGL build */}
{showUnityWebGL && ( {showUnityWebGL && (
<iframe <iframe
src="https://64f66d39fdef493229b2ddd9--lambent-unicorn-97396a.netlify.app/" // src="https://64f66d39fdef493229b2ddd9--lambent-unicorn-97396a.netlify.app/"
src="https://64f7cfd336356b18eb42de2b--lambent-unicorn-97396a.netlify.app/"
width="700px" width="700px"
height="700px" // Adjust the height as needed height="700px" // Adjust the height as needed
title="Unity WebGL" title="Unity WebGL"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment