mfranzon commited on
Commit
7ea1eed
·
1 Parent(s): ea8b22d

fix main and utils

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -7,7 +7,7 @@ import numpy as np
7
 
8
  _ = gettext.gettext
9
 
10
- language = st.selectbox(_('Choose your language'), ['en', 'it'])
11
  try:
12
  localizator = gettext.translation('base', localedir='locales', languages=[language])
13
  localizator.install()
@@ -70,5 +70,5 @@ if st.button('Submit'):
70
  strength=strength)
71
  if images["nsfw_content_detected"]:
72
  st.write("NSFW content detected, retry with another prompt or image")
73
- for image in images:
74
- st.image(image)
 
7
 
8
  _ = gettext.gettext
9
 
10
+ #language = st.selectbox(_('Choose your language'), ['en', 'it'])
11
  try:
12
  localizator = gettext.translation('base', localedir='locales', languages=[language])
13
  localizator.install()
 
70
  strength=strength)
71
  if images["nsfw_content_detected"]:
72
  st.write("NSFW content detected, retry with another prompt or image")
73
+ #for image in images:
74
+ st.image(images.images)