Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ import spaces
|
|
8 |
|
9 |
# Constants
|
10 |
MODEL_CONFIG = {
|
11 |
-
"G0-Release": "FlameF0X/
|
12 |
-
"G0-Release-2": "FlameF0X/
|
13 |
-
"G0-Release-2.5": "FlameF0X/
|
14 |
}
|
15 |
|
16 |
MAX_LENGTH = 384
|
@@ -142,8 +142,8 @@ def create_demo():
|
|
142 |
with gr.Blocks(css=css) as demo:
|
143 |
gr.HTML("""
|
144 |
<div class="header">
|
145 |
-
<h1><span class="snowflake-icon">❄️</span>
|
146 |
-
<p>Experience the capabilities of the
|
147 |
</div>
|
148 |
""")
|
149 |
|
@@ -153,7 +153,7 @@ def create_demo():
|
|
153 |
choices=list(MODEL_CONFIG.keys()),
|
154 |
value=list(MODEL_CONFIG.keys())[0],
|
155 |
label="Select Model Version",
|
156 |
-
info="Choose which
|
157 |
)
|
158 |
|
159 |
chat_history_display = gr.Textbox(
|
|
|
8 |
|
9 |
# Constants
|
10 |
MODEL_CONFIG = {
|
11 |
+
"G0-Release": "FlameF0X/SnowflakeCore-G0-Release",
|
12 |
+
"G0-Release-2": "FlameF0X/SnowflakeCore-G0-Release-2",
|
13 |
+
"G0-Release-2.5": "FlameF0X/SnowflakeCore-G0-Release-2.5"
|
14 |
}
|
15 |
|
16 |
MAX_LENGTH = 384
|
|
|
142 |
with gr.Blocks(css=css) as demo:
|
143 |
gr.HTML("""
|
144 |
<div class="header">
|
145 |
+
<h1><span class="snowflake-icon">❄️</span> SnowflakeCore Demo Inteface</h1>
|
146 |
+
<p>Experience the capabilities of the SnowflakeCore series language models</p>
|
147 |
</div>
|
148 |
""")
|
149 |
|
|
|
153 |
choices=list(MODEL_CONFIG.keys()),
|
154 |
value=list(MODEL_CONFIG.keys())[0],
|
155 |
label="Select Model Version",
|
156 |
+
info="Choose which SnowflakeCore model to use"
|
157 |
)
|
158 |
|
159 |
chat_history_display = gr.Textbox(
|