Spaces:
Runtime error
Runtime error
Ajeet Singh Raina
commited on
Commit
·
1dcb167
1
Parent(s):
a2a566d
Add application file
Browse files- Dockerfile +1 -1
- app.py +1 -1
- requirements.txt +1 -0
Dockerfile
CHANGED
@@ -11,5 +11,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
11 |
|
12 |
COPY . .
|
13 |
|
14 |
-
CMD ["
|
15 |
|
|
|
11 |
|
12 |
COPY . .
|
13 |
|
14 |
+
CMD ["python", "app.py"]
|
15 |
|
app.py
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.Interface.load("models/stabilityai/stable-diffusion-2-1").launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
gr.Interface.load("models/stabilityai/stable-diffusion-2-1").launch()
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio
|