ginipick commited on
Commit
7906bf8
Β·
verified Β·
1 Parent(s): c8036ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -27
app.py CHANGED
@@ -162,37 +162,11 @@ def respond(
162
  outputs += output
163
  yield outputs
164
 
165
- PLACEHOLDER = """
166
- <div class="message-bubble-border" style="display:flex; max-width: 600px; border-radius: 6px; border-width: 1px; border-color: #e5e7eb; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px);">
167
- <figure style="margin: 0;max-width: 200px;min-height: 300px;">
168
- <img src="https://huggingface.co/spaces/ginigen/Private-BitSix-Mistral-Small-3.1-24B-Instruct-2503/resolve/main/llama.jpg" alt="Logo" style="width: 100%; height: 100%; border-radius: 8px;">
169
- </figure>
170
- <div style="padding: .5rem 1.5rem;display: flex;flex-direction: column;justify-content: space-evenly;">
171
- <h2 style="text-align: left; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem;">Ginigen Private-BitSix</h2>
172
- <p style="text-align: left; font-size: 16px; line-height: 1.5; margin-bottom: 15px;">The Ginigen Private-BitSix framework simplifies interactions with Large Language Models (LLMs), providing an interface for chatting, executing function calls, generating structured output, performing retrieval augmented generation, and processing text using agentic chains with tools.</p>
173
- <div style="display: flex; justify-content: space-between; align-items: center;">
174
- <div style="display: flex; flex-flow: column; justify-content: space-between;">
175
- <span style="display: inline-flex; align-items: center; border-radius: 0.375rem; background-color: rgba(229, 70, 77, 0.1); padding: 0.1rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: #f88181; margin-bottom: 2.5px;">
176
- Private BitSix Mistral Small 3.1 24B Instruct
177
- </span>
178
- </div>
179
- <div style="display: flex; justify-content: flex-end; align-items: center;">
180
- <a href="https://discord.gg/openfreeai" target="_blank" rel="noreferrer" style="padding: .5rem;">
181
- <svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 5 30.67 23.25">
182
- <title>Discord</title>
183
- <path d="M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"></path>
184
- </svg>
185
- </a>
186
- </div>
187
- </div>
188
- </div>
189
- </div>
190
- """
191
 
192
  demo = gr.ChatInterface(
193
  fn=respond,
194
  title="Ginigen Private AI",
195
- description="6BIT μ–‘μžν™”λ‘œ λͺ¨λΈ ν¬κΈ°λŠ” 쀄이고 μ„±λŠ₯은 μœ μ§€ν•˜λŠ” ν”„λΌμ΄λ²„μ‹œ 쀑심 AI μ†”λ£¨μ…˜.",
196
  theme=gr.themes.Soft(
197
  primary_hue="violet",
198
  secondary_hue="violet",
 
162
  outputs += output
163
  yield outputs
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
 
166
  demo = gr.ChatInterface(
167
  fn=respond,
168
  title="Ginigen Private AI",
169
+ description="6BIT μ–‘μžν™”λ‘œ λͺ¨λΈ ν¬κΈ°λŠ” 쀄이고 μ„±λŠ₯은 μœ μ§€ν•˜λŠ” ν”„λΌμ΄λ²„μ‹œ 쀑심 AI μ†”λ£¨μ…˜: The Ginigen Private-BitSix framework simplifies interactions with Large Language Models (LLMs), providing an interface for chatting, executing function calls, generating structured output, performing retrieval augmented generation, and processing text using agentic chains with tools.",
170
  theme=gr.themes.Soft(
171
  primary_hue="violet",
172
  secondary_hue="violet",