| # Set web page format | |
| import streamlit as st | |
| st.set_page_config(layout="wide") | |
| # Disable virtual VRAM on windows system | |
| import torch | |
| torch.cuda.set_per_process_memory_fraction(0.999, 0) | |
| st.markdown(""" | |
| # DiffSynth Studio | |
| [Source Code](https://github.com/Artiprocher/DiffSynth-Studio) | |
| Welcome to DiffSynth Studio. | |
| """) | |