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
""" | |
title: DeepSeek R1 | |
author: zgccrui | |
description: 在OpwenWebUI中显示DeepSeek R1模型的思维链 - 仅支持0.5.6及以上版本 | |
version: 1.2.10 | |
licence: MIT | |
""" | |
import json | |
import httpx |
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
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install python | |
sudo apt-get install python-pip | |
unset LC_ALL | |
pip install shadowsocks | |
unset LC_ALL | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
sudo dpkg-reconfigure locales |
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
#!/bin/bash | |
# client install | |
export IP_ADDRESS=$(hostname -i) | |
echo $IP_ADDRESS | |
apt-get update | |
apt-get install -y unzip dnsmasq wget | |
# install nomad | |
wget https://releases.hashicorp.com/nomad/0.8.4/nomad_0.8.4_linux_amd64.zip |
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
#!/bin/bash | |
# server install | |
export IP_ADDRESS=$(hostname -i) | |
echo $IP_ADDRESS | |
apt-get update | |
apt-get install -y unzip dnsmasq wget | |
# install Nomad | |
wget https://releases.hashicorp.com/nomad/0.8.4/nomad_0.8.4_linux_amd64.zip | |
unzip nomad_0.8.4_linux_amd64.zip -d /usr/local/bin/ |