chansung commited on
Commit
2dcd56d
Β·
1 Parent(s): eee84de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
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"]