Falln87 commited on
Commit
8e810f0
1 Parent(s): 92348ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,6 +11,7 @@ from peft import PeftModel, LoraConfig, get_peft_model, prepare_model_for_int8_t
11
  model_dict = {
12
  "Stable Diffusion": {
13
  "Models": [
 
14
  "CompVis/stable-diffusion-v1-4",
15
  "stabilityai/stable-diffusion-2-1",
16
  "runwayml/stable-diffusion-v1-5",
@@ -140,7 +141,7 @@ if model_type == "Stable Diffusion":
140
  for i, image in enumerate(images):
141
  cols[i].image(image, caption=f"Image {i+1}", use_column_width=True)
142
 
143
- elif model_type == "Llama":
144
  model = st.selectbox("Select a Llama model:", model_dict[model_type]["Models"])
145
  tokenizer = st.selectbox("Select a tokenizer:", model_dict[model_type]["Tokenizers"])
146
  feature = st.selectbox("Select a feature:", model_dict[model_type]["Features"])
 
11
  model_dict = {
12
  "Stable Diffusion": {
13
  "Models": [
14
+ "stabilityai/stable-diffusion-3-medium"
15
  "CompVis/stable-diffusion-v1-4",
16
  "stabilityai/stable-diffusion-2-1",
17
  "runwayml/stable-diffusion-v1-5",
 
141
  for i, image in enumerate(images):
142
  cols[i].image(image, caption=f"Image {i+1}", use_column_width=True)
143
 
144
+ if model_type == "Llama":
145
  model = st.selectbox("Select a Llama model:", model_dict[model_type]["Models"])
146
  tokenizer = st.selectbox("Select a tokenizer:", model_dict[model_type]["Tokenizers"])
147
  feature = st.selectbox("Select a feature:", model_dict[model_type]["Features"])