Skip to content

Commit

Permalink
Add stable-diffusion-xl-1024-v1-0 to finetune notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
pharmapsychotic committed Aug 2, 2023
1 parent c35a25a commit 4c6dcc3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions nbs/finetune.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 1,
"metadata": {
"cellView": "form",
"id": "T9ma2X7bhH8y"
Expand Down Expand Up @@ -52,7 +52,7 @@
"STABILITY_HOST = \"grpc-staging.stability.ai:443\" #@param {type:\"string\"}\n",
"STABILITY_KEY = getpass.getpass('Enter your API Key')\n",
"\n",
"engine_id = \"stable-diffusion-xl-1024-v0-9\" #@param [\"stable-diffusion-xl-1024-v0-9\"] {type:\"string\"}\n",
"engine_id = \"stable-diffusion-xl-1024-v0-9\" #@param [\"stable-diffusion-xl-1024-v0-9\", \"stable-diffusion-xl-1024-v1-0\"] {type:\"string\"}\n",
"\n",
"# Create API context to query user info and generate images\n",
"context = Context(STABILITY_HOST, STABILITY_KEY, generate_engine_id=engine_id)\n",
Expand Down Expand Up @@ -256,13 +256,6 @@
" if artifact.type == generation.ARTIFACT_IMAGE:\n",
" display(Image.open(io.BytesIO(artifact.binary)))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -284,7 +277,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.11.4"
},
"orig_nbformat": 4
},
Expand Down

0 comments on commit 4c6dcc3

Please sign in to comment.