my_ren.c

  name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-5572165936844014&dt=1194442938015&lmt=1194190197&format=336x280_as&output=html&correlator=1194442937843&url=file%3A%2F%2F%2FC%3A%2FDocuments%2520and%2520Settings%2Flhh1%2F%E6%A1%8C%E9%9D%A2%2FCLanguage.htm&color_bg=FFFFFF&color_text=000000&color_link=000000&color_url=FFFFFF&color_border=FFFFFF&ad_type=text&ga_vid=583001034.1194442938&ga_sid=1194442938&ga_hid=1942779085&flash=9&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=32&u_tz=480&u_java=true" frameborder="0" width="336" scrolling="no" height="280" allowtransparency="allowtransparency"> #include <stdio.h>

void main(int argc, char *argv[])
 {
  if (argc < 3)
    printf("Must specify a source and target filename/n");
  else if (rename(argv[1], argv[2]))
    printf("Error renaming file/n");
 }

Microsoft Windows [版本 10.0.22631.2861] (c) Microsoft Corporation。保留所有权利。 C:\Users\Administrator>dir /s/b "E:\AI_Models\*.bin" "E:\AI_Models\*.safetensors" E:\AI_Models\deepseek-7b-chat\pytorch_model-00001-of-00002.bin E:\AI_Models\deepseek-7b-chat\pytorch_model-00002-of-00002.bin E:\AI_Models\Qwen2-7B\model-00001-of-00004.safetensors E:\AI_Models\Qwen2-7B\model-00002-of-00004.safetensors E:\AI_Models\Qwen2-7B\model-00003-of-00004.safetensors E:\AI_Models\Qwen2-7B\model-00004-of-00004.safetensors E:\AI_Models\sdxl\sd_xl_base_1.0.safetensors E:\AI_Models\sdxl\sd_xl_base_1.0_0.9vae.safetensors E:\AI_Models\sdxl\sd_xl_offset_example-lora_1.0.safetensors E:\AI_Models\sdxl\text_encoder\openvino_model.bin E:\AI_Models\sdxl\text_encoder\model.fp16.safetensors E:\AI_Models\sdxl\text_encoder\model.safetensors E:\AI_Models\sdxl\text_encoder_2\openvino_model.bin E:\AI_Models\sdxl\text_encoder_2\model.fp16.safetensors E:\AI_Models\sdxl\text_encoder_2\model.safetensors E:\AI_Models\sdxl\unet\openvino_model.bin E:\AI_Models\sdxl\unet\diffusion_pytorch_model.fp16.safetensors E:\AI_Models\sdxl\unet\diffusion_pytorch_model.safetensors E:\AI_Models\sdxl\vae\diffusion_pytorch_model.fp16.safetensors E:\AI_Models\sdxl\vae\diffusion_pytorch_model.safetensors E:\AI_Models\sdxl\vae_1_0\diffusion_pytorch_model.fp16.safetensors E:\AI_Models\sdxl\vae_1_0\diffusion_pytorch_model.safetensors E:\AI_Models\sdxl\vae_decoder\openvino_model.bin E:\AI_Models\sdxl\vae_encoder\openvino_model.bin E:\AI_Models\yi-vl\pytorch_model-00001-of-00002.bin E:\AI_Models\yi-vl\pytorch_model-00002-of-00002.bin E:\AI_Models\yi-vl\vit\clip-vit-H-14-laion2B-s32B-b79K-yi-vl-6B-448\open_clip_pytorch_model.bin E:\AI_Models\yi-vl\vit\clip-vit-H-14-laion2B-s32B-b79K-yi-vl-6B-448\pytorch_model.bin C:\Users\Administrator>( More? echo @echo off More? echo call venv\Scripts\activate More? echo if not exist "css\chat_style-bubble.css" ( More? echo curl -o "css\chat_style-bubble.css" https://raw.githubusercontent.com/oobabooga/text-generation-webui/main/css/chat_style-bubble.css More? echo ) @echo off call venv\Scripts\activate if not exist "css\chat_style-bubble.css" ( curl -o "css\chat_style-bubble.css" https://raw.githubusercontent.com/oobabooga/text-generation-webui/main/css/chat_style-bubble.css ECHO 处于打开状态。 C:\Users\Administrator>echo set PYTHONPATH=%%cd%% set PYTHONPATH=%C:\Users\Administrator% C:\Users\Administrator>echo python server.py --model-dir "E:\AI_Models" --trust-remote-code --listen --verbose python server.py --model-dir "E:\AI_Models" --trust-remote-code --listen --verbose C:\Users\Administrator>) > "text-generation-webui\smart_launch.bat" C:\Users\Administrator>type "text-generation-webui\environment.py" # -*- coding: utf-8 -*- class EnvironmentInterface: # ...鍏朵粬浠g爜... def generate_image(self, prompt): """鍥惧儚鐢熸垚""" os.makedirs("generated_images", exist_ok=True) timestamp = int(time.time()) image_path = f"generated_images/image_{timestamp}.png" if "SDXL" in self.models: pipe = self.models["SDXL"]["pipeline"] image = pipe(prompt).images[0] image.save(image_path) return f"鍥剧墖宸蹭繚瀛樿嚦: {image_path}" else: return "閿欒: SDXL妯″瀷鏈姞杞? C:\Users\Administrator>cd text-generation-webui C:\Users\Administrator\text-generation-webui>call smart_launch.bat 'smart_launch.bat' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 C:\Users\Administrator\text-generation-webui>
08-05
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值