Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import emoji
|
|
11 |
|
12 |
|
13 |
|
14 |
-
text_gen=gr.Interface.load("spaces/
|
15 |
def get_prompts(prompt_text):
|
16 |
if prompt_text:
|
17 |
return text_gen("photo, " + prompt_text)
|
@@ -151,13 +151,9 @@ with gr.Blocks(css='style.css') as demo:
|
|
151 |
|
152 |
|
153 |
<div class="acknowledgments" style="font-size: 115%">
|
154 |
-
<p>
|
155 |
-
|
156 |
-
</p>
|
157 |
-
</div>
|
158 |
-
<div class="acknowledgments" style="font-size: 115%">
|
159 |
-
<p> 使用方法2:直接在第二个输入框内输入(或者从其他地方复制黏贴)一组英文单词,直接按下第二个按钮,下面会生成两张一样的图像。如果提前把差异程度的往右拉,两张图会出现或大或小的差异。
|
160 |
|
|
|
161 |
</p>
|
162 |
</div>
|
163 |
"""
|
|
|
11 |
|
12 |
|
13 |
|
14 |
+
text_gen=gr.Interface.load("spaces/Dao3/MagicPrompt-Stable-Diffusion")
|
15 |
def get_prompts(prompt_text):
|
16 |
if prompt_text:
|
17 |
return text_gen("photo, " + prompt_text)
|
|
|
151 |
|
152 |
|
153 |
<div class="acknowledgments" style="font-size: 115%">
|
154 |
+
<p>
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
+
这个模型和<a href="https://huggingface.co/spaces/Dao3/DreamlikeArt-Diffusion-1.0">幻梦成真</a>的区别是:幻梦成真更真实,这个模型更虚幻。 </p>
|
157 |
</p>
|
158 |
</div>
|
159 |
"""
|