Spaces:
Runtime error
Runtime error
layerdiffusion
commited on
Commit
•
917d263
1
Parent(s):
9ab270d
app.py
CHANGED
@@ -79,9 +79,9 @@ pipeline = StableDiffusionXLOmostPipeline(
|
|
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,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;}
|