feng2022 commited on
Commit
70aa17a
1 Parent(s): 1f683a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def main():
62
  # else:
63
  # result = "False2"
64
  #load_model("stylegan2-ffhq-config-f","feng2022/Time-TravelRephotography_stylegan2-ffhq-config-f")
65
- result = os.system('nvidia-smi')
66
  iface = gr.Interface(
67
  fn=predict,
68
  inputs='text',
 
62
  # else:
63
  # result = "False2"
64
  #load_model("stylegan2-ffhq-config-f","feng2022/Time-TravelRephotography_stylegan2-ffhq-config-f")
65
+ result = subprocess.check_output('nvidia-smi')
66
  iface = gr.Interface(
67
  fn=predict,
68
  inputs='text',