ACCA225 commited on
Commit
91f0a8c
1 Parent(s): dfbd363

Update app11.py

Browse files
Files changed (1) hide show
  1. app11.py +1 -0
app11.py CHANGED
@@ -230,6 +230,7 @@ nvidia_smi.nvmlInit()
230
  def monitor_gpu():
231
  while True:
232
  try:
 
233
  # 获取 GPU 温度
234
  handle = nvidia_smi.nvmlDeviceGetHandleByIndex(0) # 0 表示第一个 GPU
235
  gpu_temperature = nvidia_smi.nvmlDeviceGetTemperature(handle, nvidia_smi.NVML_TEMPERATURE_GPU)
 
230
  def monitor_gpu():
231
  while True:
232
  try:
233
+ print("你正在使用Nyan9的openxlab脚本,如果谁用了我的脚本请跟本人联系一下好吗:QQ2575044704")
234
  # 获取 GPU 温度
235
  handle = nvidia_smi.nvmlDeviceGetHandleByIndex(0) # 0 表示第一个 GPU
236
  gpu_temperature = nvidia_smi.nvmlDeviceGetTemperature(handle, nvidia_smi.NVML_TEMPERATURE_GPU)