RoyalEagle commited on
Commit
5c9ae71
1 Parent(s): 61e2e51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -2,17 +2,18 @@ import os
2
  import sys
3
 
4
 
5
- import gradio as gr
6
- import torch
7
- import pixray
8
  #clone https://github.com/openai/CLIP
9
  os.system("git clone https://github.com/openai/CLIP")
10
  os.system("git clone https://github.com/CompVis/taming-transformers.git")
11
  # !pip install taming-transformers
12
  #clone https://github.com/CompVis/taming-transformers.git
13
  os.system("git clone https://github.com/dribnet/pixray")
14
-
 
15
  sys.path.append("pixray")
 
 
16
 
17
  # Define the main function
18
  def generate(prompt, quality, aspect):
 
2
  import sys
3
 
4
 
5
+
 
 
6
  #clone https://github.com/openai/CLIP
7
  os.system("git clone https://github.com/openai/CLIP")
8
  os.system("git clone https://github.com/CompVis/taming-transformers.git")
9
  # !pip install taming-transformers
10
  #clone https://github.com/CompVis/taming-transformers.git
11
  os.system("git clone https://github.com/dribnet/pixray")
12
+ import gradio as gr
13
+ import torch
14
  sys.path.append("pixray")
15
+ import pixray
16
+
17
 
18
  # Define the main function
19
  def generate(prompt, quality, aspect):