Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,9 +159,9 @@ with gr.Blocks() as demo2:
|
|
159 |
"""
|
160 |
## Your own Stable Diffusion on Hugging Face π€ Endpoint
|
161 |
""")
|
162 |
-
hf_token_input = gr.Textbox(
|
163 |
-
label="enter your Hugging Face Access Token"
|
164 |
-
)
|
165 |
|
166 |
providers = avaliable_providers()
|
167 |
|
@@ -181,13 +181,13 @@ with gr.Blocks() as demo2:
|
|
181 |
|
182 |
provider_selector.change(update_regions, inputs=provider_selector, outputs=region_selector)
|
183 |
|
184 |
-
compute_selector = gr.Dropdown(
|
185 |
-
[],
|
186 |
-
value="",
|
187 |
-
label="select compute instance type",
|
188 |
-
interactive=True
|
189 |
-
)
|
190 |
-
region_selector.change(update_compute_options, inputs=[provider_selector, region_selector], outputs=compute_selector)
|
191 |
|
192 |
gr.TabbedInterface(
|
193 |
[demoInterface, demo, demo2], ["Try-out", "π Deploy on GCP", " Deploy on π€ Endpoint"]
|
|
|
159 |
"""
|
160 |
## Your own Stable Diffusion on Hugging Face π€ Endpoint
|
161 |
""")
|
162 |
+
# hf_token_input = gr.Textbox(
|
163 |
+
# label="enter your Hugging Face Access Token"
|
164 |
+
# )
|
165 |
|
166 |
providers = avaliable_providers()
|
167 |
|
|
|
181 |
|
182 |
provider_selector.change(update_regions, inputs=provider_selector, outputs=region_selector)
|
183 |
|
184 |
+
# compute_selector = gr.Dropdown(
|
185 |
+
# [],
|
186 |
+
# value="",
|
187 |
+
# label="select compute instance type",
|
188 |
+
# interactive=True
|
189 |
+
# )
|
190 |
+
# region_selector.change(update_compute_options, inputs=[provider_selector, region_selector], outputs=compute_selector)
|
191 |
|
192 |
gr.TabbedInterface(
|
193 |
[demoInterface, demo, demo2], ["Try-out", "π Deploy on GCP", " Deploy on π€ Endpoint"]
|