Spaces:
Paused
Paused
update random seed code
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import subprocess
|
|
2 |
from PIL import Image
|
3 |
import gradio as gr
|
4 |
import os
|
|
|
5 |
|
6 |
# First, running the inversion command to obtain the input noise that will reconstruct the image.
|
7 |
# It will save the inversion as output/test_cat/inversion/image-name.pt
|
|
|
2 |
from PIL import Image
|
3 |
import gradio as gr
|
4 |
import os
|
5 |
+
import random
|
6 |
|
7 |
# First, running the inversion command to obtain the input noise that will reconstruct the image.
|
8 |
# It will save the inversion as output/test_cat/inversion/image-name.pt
|