Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -495,8 +495,8 @@ models = [
|
|
495 |
]
|
496 |
current_model = models[0]
|
497 |
|
498 |
-
text_gen1=gr.Interface.load("spaces/daspartho/prompt-extend")
|
499 |
-
|
500 |
|
501 |
models2=[
|
502 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
@@ -1033,12 +1033,12 @@ with gr.Blocks(css=css) as myface:
|
|
1033 |
color: #ffffff; !important;
|
1034 |
}
|
1035 |
.gradio-container {
|
1036 |
-
background-image: linear-gradient(#
|
1037 |
color: #ffaa66 !important;
|
1038 |
font-family: 'IBM Plex Sans', sans-serif !important;
|
1039 |
}
|
1040 |
.text-gray-500 {
|
1041 |
-
color: #
|
1042 |
}
|
1043 |
.gr-box {
|
1044 |
background-image: linear-gradient(#182634, #1e2f40, #254150) !important;
|
@@ -1048,23 +1048,20 @@ with gr.Blocks(css=css) as myface:
|
|
1048 |
border-left-color: #000000 !important;
|
1049 |
}
|
1050 |
.gr-input {
|
1051 |
-
color: #
|
1052 |
-
background-color: #
|
1053 |
}
|
1054 |
:root {
|
1055 |
--neutral-100: #000000 !important;
|
1056 |
}
|
1057 |
</style>
|
1058 |
<body>
|
1059 |
-
<div class="center"><h1>
|
1060 |
</div>
|
1061 |
</body>
|
1062 |
</div>
|
1063 |
<p style="margin-bottom: 9px; color: #ffaa66;">
|
1064 |
-
<h3>Fast Diffusion -
|
1065 |
-
<p style="margin-bottom: 9px; font-size: 98%">
|
1066 |
-
<br><h4>The first time you load a model it takes less than a minute.</h4>
|
1067 |
-
<br><h4>But after it's loaded each new image takes 20 seconds to generate!</h4></p>
|
1068 |
</div>
|
1069 |
""")
|
1070 |
with gr.Row():
|
@@ -1079,20 +1076,20 @@ with gr.Blocks(css=css) as myface:
|
|
1079 |
gr.HTML("""<style> .gr-button {
|
1080 |
color: #ffffff !important;
|
1081 |
text-shadow: 1px 1px 0 rgba(0, 0, 0, 1) !important;
|
1082 |
-
background-image: linear-gradient(#
|
1083 |
border-radius: 24px !important;
|
1084 |
border: solid 1px !important;
|
1085 |
-
border-top-color: #
|
1086 |
border-right-color: #000000 !important;
|
1087 |
border-bottom-color: #000000 !important;
|
1088 |
-
border-left-color: #
|
1089 |
padding: 6px 30px;
|
1090 |
}
|
1091 |
.gr-button:active {
|
1092 |
-
color: #
|
1093 |
font-size: 98% !important;
|
1094 |
text-shadow: 0px 0px 0 rgba(0, 0, 0, 1) !important;
|
1095 |
-
background-image: linear-gradient(#
|
1096 |
border-top-color: #000000 !important;
|
1097 |
border-right-color: #ffffff !important;
|
1098 |
border-bottom-color: #ffffff !important;
|
|
|
495 |
]
|
496 |
current_model = models[0]
|
497 |
|
498 |
+
#text_gen1=gr.Interface.load("spaces/daspartho/prompt-extend")
|
499 |
+
text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
|
500 |
|
501 |
models2=[
|
502 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
|
|
1033 |
color: #ffffff; !important;
|
1034 |
}
|
1035 |
.gradio-container {
|
1036 |
+
background-image: linear-gradient(#252525, #1e1e1e, #181818) !important;
|
1037 |
color: #ffaa66 !important;
|
1038 |
font-family: 'IBM Plex Sans', sans-serif !important;
|
1039 |
}
|
1040 |
.text-gray-500 {
|
1041 |
+
color: #ffc9c9 !important;
|
1042 |
}
|
1043 |
.gr-box {
|
1044 |
background-image: linear-gradient(#182634, #1e2f40, #254150) !important;
|
|
|
1048 |
border-left-color: #000000 !important;
|
1049 |
}
|
1050 |
.gr-input {
|
1051 |
+
color: #ffc9c9; !important;
|
1052 |
+
background-color: #252525 !important;
|
1053 |
}
|
1054 |
:root {
|
1055 |
--neutral-100: #000000 !important;
|
1056 |
}
|
1057 |
</style>
|
1058 |
<body>
|
1059 |
+
<div class="center"><h1>Printing Press</h1>
|
1060 |
</div>
|
1061 |
</body>
|
1062 |
</div>
|
1063 |
<p style="margin-bottom: 9px; color: #ffaa66;">
|
1064 |
+
<h3>Fast Diffusion - A permanently online backup copy of ToyWorld!</h3></p>
|
|
|
|
|
|
|
1065 |
</div>
|
1066 |
""")
|
1067 |
with gr.Row():
|
|
|
1076 |
gr.HTML("""<style> .gr-button {
|
1077 |
color: #ffffff !important;
|
1078 |
text-shadow: 1px 1px 0 rgba(0, 0, 0, 1) !important;
|
1079 |
+
background-image: linear-gradient(#635a76, #a489d2) !important;
|
1080 |
border-radius: 24px !important;
|
1081 |
border: solid 1px !important;
|
1082 |
+
border-top-color: #c99fff !important;
|
1083 |
border-right-color: #000000 !important;
|
1084 |
border-bottom-color: #000000 !important;
|
1085 |
+
border-left-color: #c99fff !important;
|
1086 |
padding: 6px 30px;
|
1087 |
}
|
1088 |
.gr-button:active {
|
1089 |
+
color: #c99fff !important;
|
1090 |
font-size: 98% !important;
|
1091 |
text-shadow: 0px 0px 0 rgba(0, 0, 0, 1) !important;
|
1092 |
+
background-image: linear-gradient(#a489d2, #635a76) !important;
|
1093 |
border-top-color: #000000 !important;
|
1094 |
border-right-color: #ffffff !important;
|
1095 |
border-bottom-color: #ffffff !important;
|