Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,9 @@ def load_models(inp):
|
|
43 |
client_z.clear()
|
44 |
client_z.append(InferenceClient(models[inp]))
|
45 |
|
46 |
-
if "mistralai" in models[inp]:
|
47 |
-
|
|
|
48 |
|
49 |
return gr.update(label=models[inp])
|
50 |
|
|
|
43 |
client_z.clear()
|
44 |
client_z.append(InferenceClient(models[inp]))
|
45 |
|
46 |
+
#if "mistralai" in models[inp]:
|
47 |
+
# tokens = gr.Slider(label="Max new tokens",value=1600,minimum=0,maximum=8000,step=64,interactive=True, visible=True,info="The maximum number of tokens")
|
48 |
+
|
49 |
|
50 |
return gr.update(label=models[inp])
|
51 |
|