anushka81
commited on
Commit
·
c1a568f
1
Parent(s):
66a73ae
change requirements
Browse files- app.py +1 -1
- requirements.txt +6 -3
app.py
CHANGED
@@ -15,7 +15,7 @@ def image_to_image(prompt, negative_prompt, init_image, strength, guidance_scale
|
|
15 |
return image
|
16 |
|
17 |
with gr.Blocks(theme='Respair/[email protected]') as demo:
|
18 |
-
gr.Markdown("#
|
19 |
|
20 |
with gr.Tab("Text-to-Image"):
|
21 |
with gr.Row():
|
|
|
15 |
return image
|
16 |
|
17 |
with gr.Blocks(theme='Respair/[email protected]') as demo:
|
18 |
+
gr.Markdown("# Text-to-Image and Image-to-Image")
|
19 |
|
20 |
with gr.Tab("Text-to-Image"):
|
21 |
with gr.Row():
|
requirements.txt
CHANGED
@@ -1,4 +1,7 @@
|
|
|
|
1 |
torch==2.0.1
|
2 |
-
diffusers==0.
|
3 |
-
|
4 |
-
|
|
|
|
|
|
1 |
+
gradio==3.37.0
|
2 |
torch==2.0.1
|
3 |
+
diffusers==0.19.2
|
4 |
+
transformers==4.31.0
|
5 |
+
accelerate==0.21.0
|
6 |
+
huggingface_hub==0.16.4
|
7 |
+
Pillow==10.0.0
|