List of languages and data: http://www.unicode.org/udhr/d/
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
# remove empty folders in the current directory. | |
find . -type d -empty -delete | |
# flat folder in. folder | |
find . -type f -exec mv -i {} . \; | |
# delete other files that doesnot match: | |
find . ! -name "*-sentences.txt" -type f -delete | |
# grep over not txt: |
# install chromium and selenium
!apt update
!apt install chromium-chromedriver
!pip install selenium
from selenium import webdriver
from selenium.common.exceptions import WebDriverException
Create a file named packages.txt
in the root directory of Gradio, and insert the following content:
chromium-driver
By doing this, you will ensure the installation of the Chromium driver for Debian.
create a a file named requirements.txt
in the root directory of Gradio, and insert the following content:
- change GIT_COMMITTER_DATE variable:
export GIT_COMMITTER_DATE="Sat Sep 20 08:00:00 2023 +0000"
- then commit your changes! I use GitHub UI, it's much easier to handle some of the tasks. But don't push!
- git commit --amend --no-edit --date="$GIT_COMMITTER_DATE"
OlderNewer