ysharma HF staff commited on
Commit
b0a9e31
1 Parent(s): 4f9beab

update random seed code

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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