File size: 1,392 Bytes
cb2ac60
 
 
 
d209547
74974be
 
c286f15
 
 
 
 
 
 
 
74974be
 
 
 
 
c1cfda4
2049545
4325576
2049545
c1cfda4
32f68a8
 
f95204e
851cea0
32f68a8
74974be
 
 
0e8338d
74974be
 
482963e
5d07e74
 
 
4a1f007
0e8338d
5d07e74
 
 
cb2ac60
5d07e74
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# coding: utf-8

import streamlit as st

st.sidebar.markdown(
    """
<style>
.aligncenter {
    text-align: center;
}
</style>
<p class="aligncenter">
    <img src="https://raw.githubusercontent.com/borisdayma/dalle-mini/main/img/logo.png"/>
</p>
""",
    unsafe_allow_html=True,
)
st.sidebar.markdown(
    """
___
<p style='text-align: center'>
DALL·E mini is an AI model that generates images from any prompt you give!
</p>

<p style='text-align: center'>
Created by Boris Dayma et al. 2021
<br/>
<a href="https://github.com/borisdayma/dalle-mini" target="_blank">GitHub</a> | <a href="https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini--Vmlldzo4NjIxODA" target="_blank">Project Report</a>
</p>
        """,
    unsafe_allow_html=True,
)

st.header("DALL·E mini")
st.subheader("Generate images from text")

container = st.empty()
container.markdown(
    f"""
    A new demo with a better model is now available on [craiyon](https://www.craiyon.com/)! Check it out!

    For more information about the project, please visit:
    * [Our GitHub repository](https://github.com/borisdayma/dalle-mini).
    * [The project report](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini--Vmlldzo4NjIxODA) we wrote during the initial JAX-Flax sprint organized by 🤗 Hugging Face.

    Stay tuned for larger and better models, and more technical details!
"""
)