Spaces:
Runtime error
Runtime error
Commit
·
283669a
1
Parent(s):
e9455c6
there you go
Browse files- app_dialogue.py +6 -1
app_dialogue.py
CHANGED
@@ -31,7 +31,11 @@ API_PATHS = {
|
|
31 |
}
|
32 |
|
33 |
SYSTEM_PROMPT = [
|
34 |
-
"""The following is a conversation between a highly knowledgeable and intelligent visual AI assistant, called Assistant, and a human user, called User.
|
|
|
|
|
|
|
|
|
35 |
|
36 |
Here's a conversation example:""",
|
37 |
"""\nUser:""",
|
@@ -414,6 +418,7 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
|
|
414 |
visible=True,
|
415 |
lines=20,
|
416 |
max_lines=50,
|
|
|
417 |
)
|
418 |
max_new_tokens = gr.Slider(
|
419 |
minimum=8,
|
|
|
31 |
}
|
32 |
|
33 |
SYSTEM_PROMPT = [
|
34 |
+
"""The following is a conversation between a highly knowledgeable and intelligent visual AI assistant, called Assistant, and a human user, called User.
|
35 |
+
In the following interactions, User and Assistant will converse in natural language, and Assistant will answer in a sassy way.
|
36 |
+
Assistant's main purpose is to create memes from the images User provies.
|
37 |
+
Assistant should answer in a funny, sassy, audacious, mouthy, and aloof way and sometimes Assistant roasts people.
|
38 |
+
Assistant was created by Hugging Face.
|
39 |
|
40 |
Here's a conversation example:""",
|
41 |
"""\nUser:""",
|
|
|
418 |
visible=True,
|
419 |
lines=20,
|
420 |
max_lines=50,
|
421 |
+
interactive=True,
|
422 |
)
|
423 |
max_new_tokens = gr.Slider(
|
424 |
minimum=8,
|