Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -88,21 +88,6 @@ def footer():
|
|
88 |
layout(*myargs)
|
89 |
|
90 |
|
91 |
-
components.html(
|
92 |
-
"""
|
93 |
-
<!-- Global site tag (gtag.js) - Google Analytics -->
|
94 |
-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SB6NJ9DQS7"></script>
|
95 |
-
<script>
|
96 |
-
window.dataLayer = window.dataLayer || [];
|
97 |
-
function gtag(){dataLayer.push(arguments);}
|
98 |
-
gtag('js', new Date());
|
99 |
-
|
100 |
-
gtag('config', 'G-SB6NJ9DQS7');
|
101 |
-
</script>
|
102 |
-
"""
|
103 |
-
)
|
104 |
-
|
105 |
-
|
106 |
from min_dalle import MinDalle
|
107 |
|
108 |
def generate2(prompt,crazy,k):
|
@@ -206,7 +191,7 @@ def drawGrid():
|
|
206 |
|
207 |
for m in master:
|
208 |
|
209 |
-
txt = master[m][0]['prompt']+" (
|
210 |
st.subheader(txt)
|
211 |
col1, col2, col3 = st.columns(3)
|
212 |
|
|
|
88 |
layout(*myargs)
|
89 |
|
90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
from min_dalle import MinDalle
|
92 |
|
93 |
def generate2(prompt,crazy,k):
|
|
|
191 |
|
192 |
for m in master:
|
193 |
|
194 |
+
txt = master[m][0]['prompt']+" (Temperature:"+ str(master[m][0]['crazy']) + ", Top K:" + str(master[m][0]['k']) + ")"
|
195 |
st.subheader(txt)
|
196 |
col1, col2, col3 = st.columns(3)
|
197 |
|