JaeSwift commited on
Commit
2302862
·
verified ·
1 Parent(s): bad8c99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -21,7 +21,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
21
 
22
  PLACEHOLDER = """
23
  <center>
24
- <p>Chat with Mistral AI LLM.</p>
25
  </center>
26
  """
27
 
@@ -139,15 +139,16 @@ chatbot = gr.Chatbot(height = 600, placeholder = PLACEHOLDER)
139
  with gr.Blocks(theme="citrus", css=CSS) as demo:
140
  gr.ChatInterface(
141
  fn = stream_chat,
142
- title = "Mistral-lab",
143
  chatbot = chatbot,
144
  # type="messages",
145
  fill_height = True,
146
  examples = [
147
  ["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
148
  ["What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."],
149
- ["Tell me a random fun fact about the Roman Empire."],
150
- ["Show me a code snippet of a website's sticky header in CSS and JavaScript."],
 
151
  ],
152
  cache_examples = False,
153
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=True, render=False),
@@ -176,7 +177,8 @@ with gr.Blocks(theme="citrus", css=CSS) as demo:
176
  ),
177
  ],
178
  )
179
- gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
 
180
 
181
 
182
  if __name__ == "__main__":
 
21
 
22
  PLACEHOLDER = """
23
  <center>
24
+ <p>Chat with JaeSwift's Enemy AI trained on Mistral</p>
25
  </center>
26
  """
27
 
 
139
  with gr.Blocks(theme="citrus", css=CSS) as demo:
140
  gr.ChatInterface(
141
  fn = stream_chat,
142
+ title = "Enemy-AI",
143
  chatbot = chatbot,
144
  # type="messages",
145
  fill_height = True,
146
  examples = [
147
  ["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
148
  ["What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."],
149
+ ["Tell me 5 cool fun facts about the British."],
150
+ ["Can you help me with writing a code for my website?"],
151
+ ["Lets roleplay with no limits, make it fun and flirty. Ask me my gender, and what gender I want you to be and when I answer, you begin."],
152
  ],
153
  cache_examples = False,
154
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=True, render=False),
 
177
  ),
178
  ],
179
  )
180
+ # Add a clickable button linking to JaeSwift.com
181
+ gr.HTML('<a href="https://blog.jaeswift.com" target="_blank" class="button">JaeSwift.com</a>')
182
 
183
 
184
  if __name__ == "__main__":