MaxMilan1 commited on
Commit
096f517
1 Parent(s): a1f69bb

more chanegsss

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +6 -1
app.py CHANGED
@@ -42,8 +42,8 @@ with gr.Blocks() as demo:
42
  with gr.Column():
43
  image_nobg = gr.Image(label="Generated Image", show_download_button=True, show_label=False)
44
 
45
- button_gen.click(check_prompt, inputs=[prompt]).succes(generate_image, inputs=[prompt, negative_prompt, control_image, scale], outputs=[image_nobg])
46
-
47
  with gr.Row(variant="panel"):
48
  with gr.Column():
49
  with gr.Row():
 
42
  with gr.Column():
43
  image_nobg = gr.Image(label="Generated Image", show_download_button=True, show_label=False)
44
 
45
+ button_gen.click(check_prompt, inputs=[prompt]).success(generate_image, inputs=[prompt, negative_prompt, control_image, scale], outputs=[image_nobg])
46
+
47
  with gr.Row(variant="panel"):
48
  with gr.Column():
49
  with gr.Row():
requirements.txt CHANGED
@@ -20,4 +20,9 @@ xatlas
20
  plyfile
21
  xformers==0.0.22.post7
22
  git+https://github.com/NVlabs/nvdiffrast/
23
- huggingface-hub
 
 
 
 
 
 
20
  plyfile
21
  xformers==0.0.22.post7
22
  git+https://github.com/NVlabs/nvdiffrast/
23
+ huggingface-hub
24
+
25
+ pillow
26
+ Python-IO
27
+ opencv-python
28
+ numpy