Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,15 +121,6 @@ class GradioLLaMA2ChatPPManager(LLaMA2ChatPPManager):
|
|
121 |
|
122 |
TOKEN = os.getenv('HF_TOKEN')
|
123 |
MODEL_ID = 'meta-llama/Llama-2-70b-chat-hf'
|
124 |
-
TITLE_PLACEHOLDERS = [
|
125 |
-
'Pokemon training story',
|
126 |
-
'The Sun of Shangri-La',
|
127 |
-
'Man In The Future',
|
128 |
-
'Friends',
|
129 |
-
'Cyborg Of A Beast',
|
130 |
-
'Man At The Graveyard',
|
131 |
-
'Vampire Of The Land'
|
132 |
-
]
|
133 |
|
134 |
pipe = StableDiffusionPipeline.from_pretrained(
|
135 |
"nota-ai/bk-sdm-base", torch_dtype=torch.float16
|
@@ -492,7 +483,16 @@ def share(title, editor, cover_art):
|
|
492 |
return " "
|
493 |
|
494 |
with gr.Blocks(css=STYLES) as demo:
|
495 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
496 |
num_enabled_alts = gr.State(0)
|
497 |
|
498 |
sel_index_from = gr.State(0)
|
|
|
121 |
|
122 |
TOKEN = os.getenv('HF_TOKEN')
|
123 |
MODEL_ID = 'meta-llama/Llama-2-70b-chat-hf'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
pipe = StableDiffusionPipeline.from_pretrained(
|
126 |
"nota-ai/bk-sdm-base", torch_dtype=torch.float16
|
|
|
483 |
return " "
|
484 |
|
485 |
with gr.Blocks(css=STYLES) as demo:
|
486 |
+
TITLE_PLACEHOLDERS = [
|
487 |
+
'Pokemon training story',
|
488 |
+
'The Sun of Shangri-La',
|
489 |
+
'Man In The Future',
|
490 |
+
'Friends',
|
491 |
+
'Cyborg Of A Beast',
|
492 |
+
'Man At The Graveyard',
|
493 |
+
'Vampire Of The Land'
|
494 |
+
]
|
495 |
+
|
496 |
num_enabled_alts = gr.State(0)
|
497 |
|
498 |
sel_index_from = gr.State(0)
|