language note updated
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ def generate_meme_caption(topic):
|
|
24 |
Do not add emoji.
|
25 |
Do not add any punctuation.
|
26 |
Must be funny.
|
|
|
27 |
Only if some topic related to friends, use "bro" or "blud".
|
28 |
Answer from previous question can not be the same for this time prompt.
|
29 |
If the user does not specify their caption request, you can generate a short caption for the meme.
|
@@ -83,7 +84,7 @@ def create_meme(prompt):
|
|
83 |
# Gradio interface
|
84 |
with gr.Blocks() as demo:
|
85 |
with gr.Column():
|
86 |
-
gr.Markdown("# Meme Generator using Embeddings and GPT")
|
87 |
|
88 |
prompt = gr.Textbox(label="Enter your meme prompt:")
|
89 |
run_button = gr.Button("Generate Meme")
|
|
|
24 |
Do not add emoji.
|
25 |
Do not add any punctuation.
|
26 |
Must be funny.
|
27 |
+
If the topic is in other languages, translate into English, except for named entity.
|
28 |
Only if some topic related to friends, use "bro" or "blud".
|
29 |
Answer from previous question can not be the same for this time prompt.
|
30 |
If the user does not specify their caption request, you can generate a short caption for the meme.
|
|
|
84 |
# Gradio interface
|
85 |
with gr.Blocks() as demo:
|
86 |
with gr.Column():
|
87 |
+
gr.Markdown("# Meme Generator using Embeddings and GPT (English only)")
|
88 |
|
89 |
prompt = gr.Textbox(label="Enter your meme prompt:")
|
90 |
run_button = gr.Button("Generate Meme")
|