Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,10 +79,13 @@ def generate_image(text,folder, _ch3, images):
|
|
| 79 |
formatted_datetime = current_datetime.strftime("%Y-%m-%d %H:%M:%S")
|
| 80 |
|
| 81 |
print (f'{formatted_datetime}: input_string - {text_copy}, style_input - {style_log}\n')
|
|
|
|
|
|
|
|
|
|
| 82 |
except:
|
| 83 |
print ('ERROR! Try again.')
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
# Define Gradio Interface
|
| 88 |
iface = gr.Interface(
|
|
|
|
| 79 |
formatted_datetime = current_datetime.strftime("%Y-%m-%d %H:%M:%S")
|
| 80 |
|
| 81 |
print (f'{formatted_datetime}: input_string - {text_copy}, style_input - {style_log}\n')
|
| 82 |
+
|
| 83 |
+
return input_styles, page_val
|
| 84 |
+
|
| 85 |
except:
|
| 86 |
print ('ERROR! Try again.')
|
| 87 |
|
| 88 |
+
|
| 89 |
|
| 90 |
# Define Gradio Interface
|
| 91 |
iface = gr.Interface(
|