diff --git "a/app_dialogue.py" "b/app_dialogue.py"
--- "a/app_dialogue.py"
+++ "b/app_dialogue.py"
@@ -589,7 +589,7 @@ css='''
with gr.Blocks(title="AI Meme Generator", theme=gr.themes.Base(), css=css) as demo:
with gr.Row(scale=0.5):
gr.HTML(
- """
AI Meme Generator powered by IDEFICS
"""
+ """AI Meme Generator powered by IDEFICS
"""
)
with gr.Row(elem_id="model_selector_row"):
@@ -895,7 +895,7 @@ with gr.Blocks(title="AI Meme Generator", theme=gr.themes.Base(), css=css) as de
full_text += acc_text
acc_text = ""
- textbox.submit(fn=lambda: "", inputs=[], outputs=[generated_memes_gallery], queue=False).(
+ textbox.submit(fn=lambda: "", inputs=[], outputs=[generated_memes_gallery], queue=False).then(
fn=model_inference,
inputs=[
model_selector,