RohitGandikota commited on
Commit
ada1a98
β€’
1 Parent(s): 4a6758e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -263,7 +263,7 @@ class Demo:
263
  torch.cuda.empty_cache()
264
  model_map['Custom Slider'] = f'models/{save_name}'
265
 
266
- return [gr.update(interactive=True, value='Train'), gr.update(value='Done Training! \n Try your custom slider in the "Test" tab'), f'models/{save_name}', gr.Dropdown.change(choices=list(model_map.keys()), value='Custom Slider')]
267
 
268
 
269
  def inference(self, prompt, seed, start_noise, scale, model_name, pbar = gr.Progress(track_tqdm=True)):
 
263
  torch.cuda.empty_cache()
264
  model_map['Custom Slider'] = f'models/{save_name}'
265
 
266
+ return [gr.update(interactive=True, value='Train'), gr.update(value='Done Training! \n Try your custom slider in the "Test" tab'), f'models/{save_name}', gr.update(choices=list(model_map.keys()), value='Custom Slider')]
267
 
268
 
269
  def inference(self, prompt, seed, start_noise, scale, model_name, pbar = gr.Progress(track_tqdm=True)):