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