gokaygokay commited on
Commit
f712bed
1 Parent(s): bf7095b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -6
app.py CHANGED
@@ -18,6 +18,13 @@ hf_hub_download(
18
  local_dir = "./models"
19
  )
20
 
 
 
 
 
 
 
 
21
 
22
 
23
  def get_messages_formatter_type(model_name):
@@ -98,18 +105,20 @@ def respond(
98
  outputs += output
99
  yield outputs
100
 
101
- description = """<p><center>
102
- <a href="https://huggingface.co/mattshumer/Reflection-Llama-3.1-70B" target="_blank">[Reflection Llama 3.1 70B Model Page]</a>
103
-
104
- <a href="https://huggingface.co/bartowski/Reflection-Llama-3.1-70B-GGUF" target="_blank">[70B Model GGUF]</a>
105
- </center></p>
 
106
  """
107
 
108
  demo = gr.ChatInterface(
109
  respond,
110
  additional_inputs=[
111
  gr.Dropdown([
112
- 'Reflection-Llama-3.1-70B-Q3_K_M.gguf'
 
113
  ],
114
  value="Reflection-Llama-3.1-70B-Q3_K_M.gguf",
115
  label="Model"
 
18
  local_dir = "./models"
19
  )
20
 
21
+ # Add new model download
22
+ hf_hub_download(
23
+ repo_id="sm54/Artificium-llama3.1-8B-001-Q8_0-GGUF",
24
+ filename="artificium-llama3.1-8b-001-q8_0.gguf",
25
+ local_dir = "./models"
26
+ )
27
+
28
 
29
 
30
  def get_messages_formatter_type(model_name):
 
105
  outputs += output
106
  yield outputs
107
 
108
+ description = """<p style="display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;">
109
+ <a href="https://huggingface.co/mattshumer/Reflection-Llama-3.1-70B" target="_blank">[Reflection 70B]</a>
110
+ <a href="https://huggingface.co/bartowski/Reflection-Llama-3.1-70B-GGUF" target="_blank">[70B GGUF]</a>
111
+ <a href="https://huggingface.co/AGI-0/Artificium-llama3.1-8B-001" target="_blank">[Artificium 8B]</a>
112
+ <a href="https://huggingface.co/sm54/Artificium-llama3.1-8B-001-Q8_0-GGUF" target="_blank">[8B GGUF]</a>
113
+ </p>
114
  """
115
 
116
  demo = gr.ChatInterface(
117
  respond,
118
  additional_inputs=[
119
  gr.Dropdown([
120
+ 'Reflection-Llama-3.1-70B-Q3_K_M.gguf',
121
+ 'artificium-llama3.1-8b-001-q8_0.gguf' # Add new model to dropdown
122
  ],
123
  value="Reflection-Llama-3.1-70B-Q3_K_M.gguf",
124
  label="Model"