Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ seed_slider = gr.Slider(
|
|
124 |
# The custom_model_box is what the respond function sees as "custom_model"
|
125 |
custom_model_box = gr.Textbox(
|
126 |
value="meta-llama/Llama-3.2-3B-Instruct",
|
127 |
-
label="AI Model",
|
128 |
info="",
|
129 |
placeholder="meta-llama/Llama-3.2-3B-Instruct"
|
130 |
)
|
@@ -156,7 +156,11 @@ print("ChatInterface object created.")
|
|
156 |
|
157 |
with demo:
|
158 |
with gr.Accordion("Model Selection", open=False):
|
159 |
-
|
|
|
|
|
|
|
|
|
160 |
print("Model search box created.")
|
161 |
|
162 |
models_list = [
|
@@ -197,4 +201,4 @@ print("Gradio interface initialized.")
|
|
197 |
|
198 |
if __name__ == "__main__":
|
199 |
print("Launching the demo application.")
|
200 |
-
demo.launch()
|
|
|
124 |
# The custom_model_box is what the respond function sees as "custom_model"
|
125 |
custom_model_box = gr.Textbox(
|
126 |
value="meta-llama/Llama-3.2-3B-Instruct",
|
127 |
+
label="AI Model is",
|
128 |
info="",
|
129 |
placeholder="meta-llama/Llama-3.2-3B-Instruct"
|
130 |
)
|
|
|
156 |
|
157 |
with demo:
|
158 |
with gr.Accordion("Model Selection", open=False):
|
159 |
+
model_search_box = gr.Textbox(
|
160 |
+
label="Filter Models",
|
161 |
+
placeholder="Search for a featured model...",
|
162 |
+
lines=1
|
163 |
+
)
|
164 |
print("Model search box created.")
|
165 |
|
166 |
models_list = [
|
|
|
201 |
|
202 |
if __name__ == "__main__":
|
203 |
print("Launching the demo application.")
|
204 |
+
demo.launch()
|