Commit
·
1c8d1b9
1
Parent(s):
2429a84
update app.py
Browse files
app.py
CHANGED
@@ -101,15 +101,12 @@ def main():
|
|
101 |
manual_seed_range = st.sidebar.slider("Manual Seed Range", min_value=0, max_value=12013012031030, value=(0, 12013012031030))
|
102 |
|
103 |
use_gpu = st.sidebar.radio("Select device:", ("CPU", "GPU"), index=0)
|
104 |
-
<<<<<<< HEAD
|
105 |
if use_gpu == "GPU":
|
106 |
st.warning("You are currently using the GPU option. Please ensure your system has an Nvidia GPU with a minimum of 4 GB VRAM and has torch-gpu installed. If not, please use the CPU option. If you continue using the GPU option without meeting these requirements, it will result in an error.")
|
107 |
|
108 |
-
=======
|
109 |
if use_gpu=="GPU":
|
110 |
st.warning("You are currently using the GPU option. Please ensure your system has an Nvidia GPU with a minimum of 4 GB VRAM and has torch-gpu installed. If not, please use the CPU option. If you continue using the GPU option without meeting these requirements, it will result in an error.")
|
111 |
|
112 |
-
>>>>>>> 489c9dafa01d3a5f5d9cd4e4e80297dd34d2f014
|
113 |
disable_safety = st.sidebar.radio("Disable Safety Checker:", ("False", "True"), index=0)
|
114 |
|
115 |
if disable_safety == "True":
|
|
|
101 |
manual_seed_range = st.sidebar.slider("Manual Seed Range", min_value=0, max_value=12013012031030, value=(0, 12013012031030))
|
102 |
|
103 |
use_gpu = st.sidebar.radio("Select device:", ("CPU", "GPU"), index=0)
|
|
|
104 |
if use_gpu == "GPU":
|
105 |
st.warning("You are currently using the GPU option. Please ensure your system has an Nvidia GPU with a minimum of 4 GB VRAM and has torch-gpu installed. If not, please use the CPU option. If you continue using the GPU option without meeting these requirements, it will result in an error.")
|
106 |
|
|
|
107 |
if use_gpu=="GPU":
|
108 |
st.warning("You are currently using the GPU option. Please ensure your system has an Nvidia GPU with a minimum of 4 GB VRAM and has torch-gpu installed. If not, please use the CPU option. If you continue using the GPU option without meeting these requirements, it will result in an error.")
|
109 |
|
|
|
110 |
disable_safety = st.sidebar.radio("Disable Safety Checker:", ("False", "True"), index=0)
|
111 |
|
112 |
if disable_safety == "True":
|