Spaces:
Sleeping
Sleeping
Andre
commited on
Commit
·
6524712
1
Parent(s):
22d47f1
Update
Browse files- colab.ipynb +4 -2
colab.ipynb
CHANGED
@@ -110,7 +110,6 @@
|
|
110 |
"# Output area to display the image\n",
|
111 |
"output = widgets.Output()\n",
|
112 |
"\n",
|
113 |
-
"# Function to handle button click event\n",
|
114 |
"def on_generate_button_clicked(b):\n",
|
115 |
" with output:\n",
|
116 |
" clear_output(wait=True) # Clear previous output\n",
|
@@ -141,7 +140,10 @@
|
|
141 |
"\n",
|
142 |
" # Generate the image\n",
|
143 |
" print(\"=== Debug: Calling generate_image ===\")\n",
|
144 |
-
" image, message = generate_image(
|
|
|
|
|
|
|
145 |
"\n",
|
146 |
" # Debug: Check the output of generate_image\n",
|
147 |
" print(\"=== Debug: generate_image Output ===\")\n",
|
|
|
110 |
"# Output area to display the image\n",
|
111 |
"output = widgets.Output()\n",
|
112 |
"\n",
|
|
|
113 |
"def on_generate_button_clicked(b):\n",
|
114 |
" with output:\n",
|
115 |
" clear_output(wait=True) # Clear previous output\n",
|
|
|
140 |
"\n",
|
141 |
" # Generate the image\n",
|
142 |
" print(\"=== Debug: Calling generate_image ===\")\n",
|
143 |
+
" image, message = generate_image(\n",
|
144 |
+
" selected_prompt, selected_team, selected_model, height, width,\n",
|
145 |
+
" num_inference_steps, guidance_scale, seed, custom_prompt, api_token\n",
|
146 |
+
" )\n",
|
147 |
"\n",
|
148 |
" # Debug: Check the output of generate_image\n",
|
149 |
" print(\"=== Debug: generate_image Output ===\")\n",
|