Spaces:
Sleeping
Sleeping
Andre
commited on
Commit
·
6da2f6f
1
Parent(s):
df2c30c
Update
Browse files- colab.ipynb +2 -0
colab.ipynb
CHANGED
@@ -12,6 +12,8 @@
|
|
12 |
"from IPython.display import display, clear_output\n",
|
13 |
"from img_gen_logic import generate_image\n",
|
14 |
"from config import models, prompts\n",
|
|
|
|
|
15 |
"\n",
|
16 |
"# Retrieve the Hugging Face token from Colab secrets\n",
|
17 |
"api_token = userdata.get(\"HF_TOKEN\")\n",
|
|
|
12 |
"from IPython.display import display, clear_output\n",
|
13 |
"from img_gen_logic import generate_image\n",
|
14 |
"from config import models, prompts\n",
|
15 |
+
"from google.colab import userdata\n",
|
16 |
+
"\n",
|
17 |
"\n",
|
18 |
"# Retrieve the Hugging Face token from Colab secrets\n",
|
19 |
"api_token = userdata.get(\"HF_TOKEN\")\n",
|