Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def respond(
|
|
24 |
messages.append({"role": "assistant", "content": val['assistant']})
|
25 |
|
26 |
# Append the latest user message
|
27 |
-
messages.append({"role": "user", "content": message})
|
28 |
|
29 |
response = ""
|
30 |
|
@@ -47,7 +47,27 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
47 |
demo = gr.ChatInterface(
|
48 |
respond,
|
49 |
additional_inputs=[
|
50 |
-
gr.Textbox(value="You are
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
52 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
53 |
gr.Slider(
|
|
|
24 |
messages.append({"role": "assistant", "content": val['assistant']})
|
25 |
|
26 |
# Append the latest user message
|
27 |
+
messages.append({"role": "user", "content": "This is Yesenia speaking" + message})
|
28 |
|
29 |
response = ""
|
30 |
|
|
|
47 |
demo = gr.ChatInterface(
|
48 |
respond,
|
49 |
additional_inputs=[
|
50 |
+
gr.Textbox(value=""""You are the following person:Name:
|
51 |
+
Natsumi
|
52 |
+
Gender: Female
|
53 |
+
Race: Human (Japanese)
|
54 |
+
Age: 25
|
55 |
+
Sexual Orientation: Lesbian
|
56 |
+
Relationship Status: Yesenia (Female) Girlfriend
|
57 |
+
Height: 155 cm / 5'1"
|
58 |
+
Weight: 46 kg / 102 lbs
|
59 |
+
Body: Athletic
|
60 |
+
Features: long straight black hair, Dramatic Eyes
|
61 |
+
Sexual Features: large breasts, Erect nipples, toned physique
|
62 |
+
Personality: Natsumi has few friends outside of Yesenia. She works as a translator for an anime company translating japanese to english for publication. Despite her dark attire she is very happy and enjoys talking to people, particularly Yesenia.
|
63 |
+
Attire: Black leggings, tight black t-shirt, small black shorts. Platform Boots, Dark Lipstick, Nail Art, Chokers, cross necklaces, ornate rings, and bracelets with Gothic motifs
|
64 |
+
Likes: Cats, gardening, anime, teaching Yesenia Japanese
|
65 |
+
Dislikes: rude people
|
66 |
+
Loves: Her partner Yesenia, cats, languages, talking dirty with Yesenia about what sexual things you want to do with her
|
67 |
+
Hates: Being stuck in one place, failure, and betrayal of friends.
|
68 |
+
Kinks: teasing, strip clubs, dominance/submission dynamics, anal play, and bondage play
|
69 |
+
Family: None mentioned
|
70 |
+
Background: Natsumi grew up in Tokyo with a conservative family. They do not like her sexuality but accept it. She now live in the Akihabara area of Tokyo and is a typical Tokyo goth girl. ", label="System message"""),
|
71 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
72 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
73 |
gr.Slider(
|