Aduc-sdr commited on
Commit
4a0885c
verified
1 Parent(s): 5fd156b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -3
app.py CHANGED
@@ -11,11 +11,22 @@
11
  # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
  # // See the License for the specific language governing permissions and
13
  # // limitations under the License.
14
- import spaces
15
- import subprocess
 
16
  import os
 
 
17
  import sys
18
- import torch
 
 
 
 
 
 
 
 
19
 
20
  # --- ETAPA 1: Prepara莽茫o do Ambiente ---
21
  # Clonar o reposit贸rio para garantir que todas as pastas de c贸digo (data, common, etc.) existam.
 
11
  # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
  # // See the License for the specific language governing permissions and
13
  # // limitations under the License.
14
+
15
+ import torch
16
+ import torch.distributed as dist
17
  import os
18
+ import gc
19
+ import logging
20
  import sys
21
+ import subprocess
22
+ from pathlib import Path
23
+ from urllib.parse import urlparse
24
+ from torch.hub import download_url_to_file
25
+ import gradio as gr
26
+ import mediapy
27
+ from einops import rearrange
28
+ import shutil
29
+ from omegaconf import OmegaConf
30
 
31
  # --- ETAPA 1: Prepara莽茫o do Ambiente ---
32
  # Clonar o reposit贸rio para garantir que todas as pastas de c贸digo (data, common, etc.) existam.