jonaschua commited on
Commit
f2617d3
·
verified ·
1 Parent(s): 99261e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -4,12 +4,14 @@ import spaces
4
  import torch
5
  import os
6
  import platform
7
- print(platform.python_version())
8
  model = ""
9
  duration = 1
10
  print(f"Is CUDA available: {torch.cuda.is_available()}")
11
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
12
-
 
 
13
 
14
  """
15
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
 
4
  import torch
5
  import os
6
  import platform
7
+
8
  model = ""
9
  duration = 1
10
  print(f"Is CUDA available: {torch.cuda.is_available()}")
11
  print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
12
+ print(f"Python version: {platform.python_version()}")
13
+ print(f"Pytorch version: {torch.__version__}")
14
+ print(f"Gradio version: {gr. __version__}")
15
 
16
  """
17
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference