Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks() as demo:
|
|
31 |
value="orca-mini-3b-gguf2-q4_0.gguf",
|
32 |
label="LLMs to choose from"
|
33 |
)
|
34 |
-
explanation = gr.Textbox(label="Model Description",
|
35 |
|
36 |
# Link the dropdown with the textbox to update the description based on the selected model
|
37 |
model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|
|
|
31 |
value="orca-mini-3b-gguf2-q4_0.gguf",
|
32 |
label="LLMs to choose from"
|
33 |
)
|
34 |
+
explanation = gr.Textbox(label="Model Description", interactive=False, value=llm_intro("orca-mini-3b-gguf2-q4_0.gguf"))
|
35 |
|
36 |
# Link the dropdown with the textbox to update the description based on the selected model
|
37 |
model_dropdown.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|