Commit
·
65f401b
1
Parent(s):
4957916
Add base64 import to app.py for encoding functionality; remove unnecessary newline in requirements.txt.
Browse files- app.py +1 -0
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -6,6 +6,7 @@ from omegaconf import OmegaConf
|
|
| 6 |
import torch
|
| 7 |
from PIL import Image
|
| 8 |
import PIL
|
|
|
|
| 9 |
from pipelines import TwoStagePipeline
|
| 10 |
from huggingface_hub import hf_hub_download
|
| 11 |
import os
|
|
|
|
| 6 |
import torch
|
| 7 |
from PIL import Image
|
| 8 |
import PIL
|
| 9 |
+
import base64
|
| 10 |
from pipelines import TwoStagePipeline
|
| 11 |
from huggingface_hub import hf_hub_download
|
| 12 |
import os
|
requirements.txt
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
huggingface-hub == 0.21.1
|
| 2 |
pydantic==2.10.6
|
| 3 |
-
|
| 4 |
diffusers==0.24.0
|
| 5 |
einops==0.7.0
|
| 6 |
Pillow==10.1.0
|
|
|
|
| 1 |
huggingface-hub == 0.21.1
|
| 2 |
pydantic==2.10.6
|
|
|
|
| 3 |
diffusers==0.24.0
|
| 4 |
einops==0.7.0
|
| 5 |
Pillow==10.1.0
|