Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,9 @@ model_dropdown = gr.Dropdown(choices=model_choices(),
|
|
27 |
type="value",
|
28 |
value="orca-mini-3b-gguf2-q4_0.gguf")
|
29 |
|
30 |
-
explanation = gr.Textbox(label="Model Description", interactive=True, lines=10)
|
|
|
|
|
31 |
|
32 |
input_text = gr.Textbox(lines=5, label="Input Text")
|
33 |
output_text = gr.Textbox(lines=5, label="Generated Text")
|
|
|
27 |
type="value",
|
28 |
value="orca-mini-3b-gguf2-q4_0.gguf")
|
29 |
|
30 |
+
explanation = gr.Textbox(label="Model Description", interactive=True, lines=10)
|
31 |
+
|
32 |
+
selection.change(fn=llm_intro, inputs=model_dropdown, outputs=explanation)
|
33 |
|
34 |
input_text = gr.Textbox(lines=5, label="Input Text")
|
35 |
output_text = gr.Textbox(lines=5, label="Generated Text")
|