Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def respond(
|
|
| 108 |
outputs += output
|
| 109 |
yield outputs
|
| 110 |
|
| 111 |
-
description = """<p align="center">Defaults to
|
| 112 |
<p><center>
|
| 113 |
<a href="https://huggingface.co/google/gemma-2-27b-it" target="_blank">[27B it Model]</a>
|
| 114 |
<a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">[9B it Model]</a>
|
|
@@ -127,7 +127,7 @@ demo = gr.ChatInterface(
|
|
| 127 |
'gemma-2-27b-it-Q5_K_M.gguf',
|
| 128 |
'2b_it_v2.gguf'
|
| 129 |
],
|
| 130 |
-
value="
|
| 131 |
label="Model"
|
| 132 |
),
|
| 133 |
gr.Textbox(value="You are a helpful assistant.", label="System message"),
|
|
|
|
| 108 |
outputs += output
|
| 109 |
yield outputs
|
| 110 |
|
| 111 |
+
description = """<p align="center">Defaults to 2B (you can switch to 9B or 27B from additional inputs)</p>
|
| 112 |
<p><center>
|
| 113 |
<a href="https://huggingface.co/google/gemma-2-27b-it" target="_blank">[27B it Model]</a>
|
| 114 |
<a href="https://huggingface.co/google/gemma-2-9b-it" target="_blank">[9B it Model]</a>
|
|
|
|
| 127 |
'gemma-2-27b-it-Q5_K_M.gguf',
|
| 128 |
'2b_it_v2.gguf'
|
| 129 |
],
|
| 130 |
+
value="2b_it_v2.gguf",
|
| 131 |
label="Model"
|
| 132 |
),
|
| 133 |
gr.Textbox(value="You are a helpful assistant.", label="System message"),
|