Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,6 @@ import torch.nn as nn
|
|
| 8 |
import whisper
|
| 9 |
import os
|
| 10 |
|
| 11 |
-
os.environ['https_proxy'] = 'http://185.46.212.90:80'
|
| 12 |
-
os.environ['http_proxy'] = 'http://185.46.212.90:80'
|
| 13 |
clip_model_name = "openai/clip-vit-base-patch32"
|
| 14 |
phi_model_name = "microsoft/phi-2"
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained(phi_model_name, trust_remote_code=True)
|
|
|
|
| 8 |
import whisper
|
| 9 |
import os
|
| 10 |
|
|
|
|
|
|
|
| 11 |
clip_model_name = "openai/clip-vit-base-patch32"
|
| 12 |
phi_model_name = "microsoft/phi-2"
|
| 13 |
tokenizer = AutoTokenizer.from_pretrained(phi_model_name, trust_remote_code=True)
|