Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -142,26 +142,25 @@ with gr.Blocks(css="cake.css") as myface:
|
|
142 |
gr.HTML("""<head><meta http-equiv="refresh" content="600"></head>""")
|
143 |
with gr.Column():
|
144 |
gr.HTML("""<title>SD的二十个最流行模型</title>""")
|
145 |
-
gr.Markdown("""<center><h1>20
|
146 |
gr.Markdown("""<center><h4>爽歪歪</h4><center>""")
|
147 |
with gr.Accordion("使用说明",open=False):
|
148 |
with gr.Tab("Description"):
|
149 |
gr.Markdown("""<center>
|
150 |
-
<h4
|
151 |
<br>
|
152 |
-
|
153 |
-
Simply Click "Launch" again to try loading the incomplete images.<br>
|
154 |
-
Page refreshes every 10 minutes.
|
155 |
<br>
|
|
|
156 |
<br>
|
157 |
-
|
158 |
</h4></center>""")
|
159 |
with gr.Tab("DIY"):
|
160 |
gr.HTML("""<div style="text-align:Left;">
|
161 |
<h4>Easy Clone:<br><br>
|
162 |
Copy/Paste this code in your new app.py file<br><br>
|
163 |
import gradio as gr<br>
|
164 |
-
max_d=gr.Interface.load("spaces/
|
165 |
max_d.launch()<br>
|
166 |
</h4></div>""")
|
167 |
with gr.Tab("Credits"):
|
@@ -230,7 +229,7 @@ with gr.Blocks(css="cake.css") as myface:
|
|
230 |
with gr.Box(visible=True) as timo:
|
231 |
with gr.Row():
|
232 |
with gr.Column():
|
233 |
-
input_text=gr.Textbox(label="
|
234 |
prompt=gr.Textbox(label="完善后的提示词",visible=True)
|
235 |
with gr.Column():
|
236 |
see_prompts=gr.Button("完善")
|
|
|
142 |
gr.HTML("""<head><meta http-equiv="refresh" content="600"></head>""")
|
143 |
with gr.Column():
|
144 |
gr.HTML("""<title>SD的二十个最流行模型</title>""")
|
145 |
+
gr.Markdown("""<center><h1>20个SD流行模型</h1><center>""")
|
146 |
gr.Markdown("""<center><h4>爽歪歪</h4><center>""")
|
147 |
with gr.Accordion("使用说明",open=False):
|
148 |
with gr.Tab("Description"):
|
149 |
gr.Markdown("""<center>
|
150 |
+
<h4>在第一个输入框内填写你想画的内容,然后点击"完善"按钮,第二个输入框会自动出现经过完善后的提示词。然后点击"开始",下面的20个模型就开始为你疯狂了~<br>
|
151 |
<br>
|
152 |
+
部分模型的图像不出现的话,重新点击"开始"按钮即可
|
|
|
|
|
153 |
<br>
|
154 |
+
间隔十分钟后模型会生成新的图像
|
155 |
<br>
|
156 |
+
我们不对最终生成的内容负责,权责自负哦~
|
157 |
</h4></center>""")
|
158 |
with gr.Tab("DIY"):
|
159 |
gr.HTML("""<div style="text-align:Left;">
|
160 |
<h4>Easy Clone:<br><br>
|
161 |
Copy/Paste this code in your new app.py file<br><br>
|
162 |
import gradio as gr<br>
|
163 |
+
max_d=gr.Interface.load("spaces/Dao3/Top-20-Models")<br>
|
164 |
max_d.launch()<br>
|
165 |
</h4></div>""")
|
166 |
with gr.Tab("Credits"):
|
|
|
229 |
with gr.Box(visible=True) as timo:
|
230 |
with gr.Row():
|
231 |
with gr.Column():
|
232 |
+
input_text=gr.Textbox(label="你想画的内容(只能是英文单词)")
|
233 |
prompt=gr.Textbox(label="完善后的提示词",visible=True)
|
234 |
with gr.Column():
|
235 |
see_prompts=gr.Button("完善")
|