mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-19 06:39:43 +00:00
16 lines
322 B
Python
16 lines
322 B
Python
# 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.
|
|
""")
|