RASMUS commited on
Commit
a6a5509
1 Parent(s): 5b15615

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -1,5 +1,4 @@
1
  import gradio as gr
2
- import os
3
  from pathlib import Path
4
  import time
5
 
@@ -7,15 +6,12 @@ import pandas as pd
7
  import re
8
  import time
9
  import os
 
 
10
 
11
  import whisper
12
  from pytube import YouTube
13
 
14
- import psutil
15
- num_cores = psutil.cpu_count()
16
- os.environ["OMP_NUM_THREADS"] = f"{num_cores}"
17
-
18
-
19
  import torch
20
 
21
 
 
1
  import gradio as gr
 
2
  from pathlib import Path
3
  import time
4
 
 
6
  import re
7
  import time
8
  import os
9
+ import requests
10
+ import json
11
 
12
  import whisper
13
  from pytube import YouTube
14
 
 
 
 
 
 
15
  import torch
16
 
17