Spaces:
Runtime error
Runtime error
chenyangqi
commited on
Commit
·
6aa163b
1
Parent(s):
a369895
only keep one example
Browse files- Dockerfile +1 -1
- app_fatezero.py +12 -13
Dockerfile
CHANGED
@@ -30,7 +30,7 @@ RUN apt-get update && \
|
|
30 |
rm -rf /var/lib/apt/lists/*
|
31 |
# RUN apt-get update && \
|
32 |
# apt-get install zip
|
33 |
-
RUN wget https://github.com/ChenyangQiQi/FateZero/releases/download/v0.0.1/style.zip && unzip style.zip
|
34 |
RUN useradd -m -u 1000 user
|
35 |
USER user
|
36 |
ENV HOME=/home/user \
|
|
|
30 |
rm -rf /var/lib/apt/lists/*
|
31 |
# RUN apt-get update && \
|
32 |
# apt-get install zip
|
33 |
+
# RUN wget https://github.com/ChenyangQiQi/FateZero/releases/download/v0.0.1/style.zip && unzip style.zip
|
34 |
RUN useradd -m -u 1000 user
|
35 |
USER user
|
36 |
ENV HOME=/home/user \
|
app_fatezero.py
CHANGED
@@ -133,19 +133,18 @@ with gr.Blocks(css='style.css') as demo:
|
|
133 |
10,
|
134 |
7.5,
|
135 |
],
|
136 |
-
[
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
],
|
148 |
-
|
149 |
]
|
150 |
gr.Examples(examples=examples,
|
151 |
inputs=[
|
|
|
133 |
10,
|
134 |
7.5,
|
135 |
],
|
136 |
+
# [
|
137 |
+
# 'CompVis/stable-diffusion-v1-4',
|
138 |
+
# 'FateZero/data/style/sunflower',
|
139 |
+
# 'a yellow sunflower',
|
140 |
+
# 'van gogh style painting of a yellow sunflower',
|
141 |
+
# 0.5,
|
142 |
+
# 0.5,
|
143 |
+
# 'van gogh',
|
144 |
+
# 10,
|
145 |
+
# 50,
|
146 |
+
# 7.5,
|
147 |
+
# ],
|
|
|
148 |
]
|
149 |
gr.Examples(examples=examples,
|
150 |
inputs=[
|