What is this script?
This script is like a special listener for music notes from a MIDI device (like a keyboard or a synthesizer). It listens to the notes you play and tells you information about them in a fun way.
How does it work?
file content here |
input_file=test-img-lowres.jpg | |
output_base=_test-img-lowres-upres-gia | |
model_name="realesrgan-x4plus-anime" | |
#Init | |
sudo mkdir -p -m 777 /repos | |
cd /repos && git clone https://github.com/GuillaumeAI/giar-Real-ESRGAN.git \ | |
&& cd giar-Real-ESRGAN | |
conda create -n py310ESRGAN python=3.10 anacond
cdir=$(pwd);for d in $(cat _dist.txt);do cd $d;for f in *;do echo $f;fx1=${f//\(/_};fx=${fx1//\)/};mv "$f" "$fx";done;cd $cdir;done |
cat Dockerfile.tmp | \ | |
sed 's/\# RUN/#ABC/g' | \ | |
sed 's/\#RUN/#ABC/g'| awk '/RUN apt/' | \ | |
sed 's/RUN apt-get -y install//g' | \ | |
sed 's/RUN apt-get install -y//g' | \ | |
awk '/RUN apt/' | \ | |
sed 's/RUN apt -y install//g' | \ | |
sed 's/RUN apt install -y//g' | \ | |
sed 's/--fix-missing//g' | |
##>> Dockerfile |
--[[ json.lua | |
A compact pure-Lua JSON library. | |
The main functions are: json.stringify, json.parse. | |
## json.stringify: | |
This expects the following to be true of any tables being encoded: | |
* They only have string or number keys. Number keys must be represented as | |
strings in json; this is part of the json spec. |
#!/bin/bash | |
cat _srrun_221109.sh | awk '/ bg/ { print "tail -f conf/logs/"$2".log &" }' |
docker pull guillaumeai/server:ast-210606-singleone-v1-dev |