salso commited on
Commit
ece77df
1 Parent(s): 404d1fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -259,7 +259,7 @@ def process_generate(fore, prompt, intensity, mode, refprompt, isrmbg, model_typ
259
 
260
  # Select the endpoint based on the model type
261
  if model_type == "anime":
262
- api_endpoint = api #to change
263
  elif model_type == "realistic":
264
  api_endpoint = api
265
  else:
@@ -511,7 +511,7 @@ with block:
511
  mode.change(fn=update_value, inputs=mode, outputs=mode)
512
 
513
  with gr.Column():
514
- model_type = gr.Dropdown(choices=["anime", "realistic"], label="Model Type", value="realistic") # Adding the Dropdown for model selection
515
 
516
  with gr.Column():
517
  gr.HTML('''
 
259
 
260
  # Select the endpoint based on the model type
261
  if model_type == "anime":
262
+ api_endpoint = api #to change to api_anime
263
  elif model_type == "realistic":
264
  api_endpoint = api
265
  else:
 
511
  mode.change(fn=update_value, inputs=mode, outputs=mode)
512
 
513
  with gr.Column():
514
+ model_type = gr.Dropdown(choices=["realistic","anime"], label="Model Type", value="realistic") # Adding the Dropdown for model selection
515
 
516
  with gr.Column():
517
  gr.HTML('''