-
Notifications
You must be signed in to change notification settings - Fork 49
/
main.py
25 lines (20 loc) · 858 Bytes
/
main.py
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
import os
import streamlit as st
from PIL import Image
st.set_page_config(
page_title="Generative Manim",
)
styl = f"""
<style>
textarea[aria-label="Code generated: "] {{
font-family: 'Consolas', monospace !important;
}}
}}
</style>
"""
st.markdown(styl, unsafe_allow_html=True)
st.title(":art: Generative Manim")
st.write(":robot_face: Create beautiful and quick animations with GPT-4 and GPT-3.5 :sparkles:")
st.write("## Hello! The new demo it's on [GM Demo](https://generative-manim.vercel.app) :rocket:")
st.write('Made with :heart: by [Marcelo](https://github.com/360macky).')
st.write('[Source code](https://github.com/360macky/generative-manim) - [Report a bug](https://github.com/360macky/generative-manim/issues/new) - [Twitter](https://twitter.com/360macky) - [OpenAI Profile](https://community.openai.com/u/360macky/summary)')