Spaces:
Paused
Paused
Update app.py
Browse files
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 |
|