This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from 'react'; | |
import i18next from 'i18next'; | |
import { getCurrentLanguage } from '@Utils/language'; | |
import ReactMarkdown from 'react-markdown'; | |
import Loader from '@Loader'; | |
type MarkdownContent = string | undefined; | |
const TermsAndConditions = (): JSX.Element => { | |
const currentLanguage = getCurrentLanguage(i18next.languages); // it returns i18next.languages[0] -> 'es', 'fr', 'en' etc. | |
const [getTermsAndConditions, setTermsAndConditions] = useState<MarkdownContent>(undefined); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
from pathlib import Path | |
import numpy as np | |
import sys | |
def adjust( | |
in_f1: Path, | |
in_f2: Path, | |
out_f: Path, |