Spaces:
markmagic
/
Runtime error

layerdiffusion commited on
Commit
917d263
1 Parent(s): 9ab270d
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -79,9 +79,9 @@ pipeline = StableDiffusionXLOmostPipeline(
79
 
80
  # LLM
81
 
82
- # model_name = 'lllyasviel/omost-phi-3-mini-128k-8bits'
83
- llm_name = 'lllyasviel/omost-llama-3-8b-4bits'
84
- # model_name = 'lllyasviel/omost-dolphin-2.9-llama3-8b-4bits'
85
 
86
  llm_model = AutoModelForCausalLM.from_pretrained(
87
  llm_name,
@@ -268,6 +268,7 @@ def diffusion_fn(chatbot, canvas_outputs, num_samples, seed, image_width, image_
268
  css = '''
269
  code {white-space: pre-wrap !important;}
270
  .gradio-container {max-width: none !important;}
 
271
  .outer_parent {flex: 1;}
272
  .inner_parent {flex: 1;}
273
  footer {display: none !important; visibility: hidden !important;}
 
79
 
80
  # LLM
81
 
82
+ # model_name = 'lllyasviel/omost-phi-3-mini-128k'
83
+ llm_name = 'lllyasviel/omost-llama-3-8b'
84
+ # model_name = 'lllyasviel/omost-dolphin-2.9-llama3-8b'
85
 
86
  llm_model = AutoModelForCausalLM.from_pretrained(
87
  llm_name,
 
268
  css = '''
269
  code {white-space: pre-wrap !important;}
270
  .gradio-container {max-width: none !important;}
271
+ iframe {max-width: none !important;}
272
  .outer_parent {flex: 1;}
273
  .inner_parent {flex: 1;}
274
  footer {display: none !important; visibility: hidden !important;}