Kohaku-Blueleaf commited on
Commit
df59904
·
1 Parent(s): 8401d0b
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,14 +3,15 @@ import random
3
  import json
4
  from pathlib import Path
5
 
6
- import gradio as gr
7
- import httpx
8
  if os.environ.get("IN_SPACES", None) is not None:
9
  in_spaces = True
10
  import spaces
11
  os.system("pip install git+https://${GIT_USER}:${GIT_TOKEN}@github.com/KohakuBlueleaf/XUT")
12
  else:
13
  in_spaces = False
 
 
 
14
  import numpy as np
15
  import torch
16
  import torch.nn as nn
 
3
  import json
4
  from pathlib import Path
5
 
 
 
6
  if os.environ.get("IN_SPACES", None) is not None:
7
  in_spaces = True
8
  import spaces
9
  os.system("pip install git+https://${GIT_USER}:${GIT_TOKEN}@github.com/KohakuBlueleaf/XUT")
10
  else:
11
  in_spaces = False
12
+
13
+ import gradio as gr
14
+ import httpx
15
  import numpy as np
16
  import torch
17
  import torch.nn as nn