jm12138 commited on
Commit
34851d4
1 Parent(s): 9d6686e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def translate_language(text_prompts):
40
  def inference(text_prompts, style_indx, resolution_indx):
41
  try:
42
  style = style_list[style_indx]
43
- resolution = style_list[resolution_indx]
44
  results = model.generate_image(
45
  text_prompts=text_prompts, style=style, resolution=resolution, visualization=False)
46
  except Exception as e:
 
40
  def inference(text_prompts, style_indx, resolution_indx):
41
  try:
42
  style = style_list[style_indx]
43
+ resolution = resolution_list[resolution_indx]
44
  results = model.generate_image(
45
  text_prompts=text_prompts, style=style, resolution=resolution, visualization=False)
46
  except Exception as e: