seawolf2357 commited on
Commit
24aa0ca
·
verified ·
1 Parent(s): ccf8c9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -297,10 +297,6 @@ def update_pricing(steps, oauth_token: Union[gr.OAuthToken, None]):
297
  else:
298
  return gr.update(visible=False), "", gr.update(visible=False), gr.update(visible=True)
299
 
300
- return gr.update(visible=True), pay_disclaimer+cost_preview, gr.update(visible=True), gr.update(visible=False)
301
- else:
302
- return gr.update(visible=False), "", gr.update(visible=False), gr.update(visible=True)
303
-
304
  def swap_base_model(model):
305
  return gr.update(visible=False) if model == "[schnell] (4 step fast model)" else gr.update(visible=True)
306
 
 
297
  else:
298
  return gr.update(visible=False), "", gr.update(visible=False), gr.update(visible=True)
299
 
 
 
 
 
300
  def swap_base_model(model):
301
  return gr.update(visible=False) if model == "[schnell] (4 step fast model)" else gr.update(visible=True)
302