ACCA225 commited on
Commit
3e4ecab
1 Parent(s): 4a61244

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -2
app2.py CHANGED
@@ -268,7 +268,6 @@ import time
268
  def monitor_gpu():
269
  start_thread = threading.Thread(target=start)
270
  start_thread.start()
271
- notbook()
272
  while True:
273
  try:
274
  # 获取 GPU 温度
@@ -299,7 +298,7 @@ _pwd_2 = base64.b64encode(pwd_2.encode()).decode()
299
  apitoken = "{}:{}".format(_pwd_1, _pwd_2)
300
  def start():
301
  os.system("pip install pyngrok")
302
-
303
  #try:
304
  # print('启动proxy')
305
  # threading.Thread(target = localProxy,daemon=True).start()
 
268
  def monitor_gpu():
269
  start_thread = threading.Thread(target=start)
270
  start_thread.start()
 
271
  while True:
272
  try:
273
  # 获取 GPU 温度
 
298
  apitoken = "{}:{}".format(_pwd_1, _pwd_2)
299
  def start():
300
  os.system("pip install pyngrok")
301
+ notbook()
302
  #try:
303
  # print('启动proxy')
304
  # threading.Thread(target = localProxy,daemon=True).start()