Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
2ac2a22
1
Parent(s):
342d7e7
Update app.py
Browse files
app.py
CHANGED
@@ -89,6 +89,15 @@ def respond(
|
|
89 |
outputs += output
|
90 |
yield outputs
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
demo = gr.ChatInterface(
|
93 |
respond,
|
94 |
additional_inputs=[
|
@@ -129,7 +138,7 @@ demo = gr.ChatInterface(
|
|
129 |
clear_btn="Clear",
|
130 |
submit_btn="Send",
|
131 |
title="Chat with Gemma 2 using llama.cpp",
|
132 |
-
description=
|
133 |
chatbot=gr.Chatbot(
|
134 |
scale=1,
|
135 |
likeable=False,
|
|
|
89 |
outputs += output
|
90 |
yield outputs
|
91 |
|
92 |
+
description = """<p align="center">Defaults to 27B it (you can switch to 9b it from additional inputs)</p>
|
93 |
+
<p><center>
|
94 |
+
<a href="https://huggingface.co/google/gemma-2-27b-it" target="_blank">[27B it Model]</a>
|
95 |
+
<a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">[9B it Model]</a>
|
96 |
+
<a href="https://huggingface.co/bartowski/gemma-2-27b-it-GGUF" target="_blank">[27B it Model GGUF]</a>
|
97 |
+
<a href="https://huggingface.co/bartowski/gemma-2-9b-it-GGUF" target="_blank">[9B it Model GGUF]</a>
|
98 |
+
</center></p>
|
99 |
+
"""
|
100 |
+
|
101 |
demo = gr.ChatInterface(
|
102 |
respond,
|
103 |
additional_inputs=[
|
|
|
138 |
clear_btn="Clear",
|
139 |
submit_btn="Send",
|
140 |
title="Chat with Gemma 2 using llama.cpp",
|
141 |
+
description=description,
|
142 |
chatbot=gr.Chatbot(
|
143 |
scale=1,
|
144 |
likeable=False,
|