Spaces:
Runtime error
Runtime error
Axel-Student
commited on
Commit
·
46a0585
1
Parent(s):
988d166
added ignore
Browse files- Dockerfile +1 -0
- app.py +1 -1
Dockerfile
CHANGED
|
@@ -4,6 +4,7 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
RUN pip install --no-cache-dir torch torchvision torchaudio diffusers gradio
|
| 6 |
RUN pip install -U diffusers
|
|
|
|
| 7 |
COPY . /app
|
| 8 |
|
| 9 |
EXPOSE 7860
|
|
|
|
| 4 |
|
| 5 |
RUN pip install --no-cache-dir torch torchvision torchaudio diffusers gradio
|
| 6 |
RUN pip install -U diffusers
|
| 7 |
+
RUN pip install git+https://github.com/huggingface/diffusers.git
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
EXPOSE 7860
|
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import torch
|
| 2 |
-
from diffusers import FluxPipeline
|
| 3 |
import gradio as gr # type: ignore
|
| 4 |
|
| 5 |
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from diffusers import FluxPipeline # type: ignore
|
| 3 |
import gradio as gr # type: ignore
|
| 4 |
|
| 5 |
|