Spaces:
Sleeping
Sleeping
Andre
commited on
Commit
·
1b95506
1
Parent(s):
8c5589c
“Update”
Browse files- colab.ipynb +2 -1
colab.ipynb
CHANGED
@@ -20,10 +20,11 @@
|
|
20 |
"from huggingface_hub import InferenceClient\n",
|
21 |
"from IPython.display import display, clear_output\n",
|
22 |
"from src.img_gen_colab import generate_image, save_image\n",
|
23 |
-
"from config.config_colab import
|
24 |
"from PIL import Image\n",
|
25 |
"from google.colab import userdata\n",
|
26 |
"from datetime import datetime\n",
|
|
|
27 |
"\n",
|
28 |
"# Initialize the InferenceClient with the default model\n",
|
29 |
"client = InferenceClient(models[0][\"name\"], token=api_token)\n",
|
|
|
20 |
"from huggingface_hub import InferenceClient\n",
|
21 |
"from IPython.display import display, clear_output\n",
|
22 |
"from src.img_gen_colab import generate_image, save_image\n",
|
23 |
+
"from config.config_colab import prompts, api_token # Import from config folder\n",
|
24 |
"from PIL import Image\n",
|
25 |
"from google.colab import userdata\n",
|
26 |
"from datetime import datetime\n",
|
27 |
+
"from config.models import models\n",
|
28 |
"\n",
|
29 |
"# Initialize the InferenceClient with the default model\n",
|
30 |
"client = InferenceClient(models[0][\"name\"], token=api_token)\n",
|