Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -234,11 +234,11 @@ def filter_models(search_term):
|
|
234 |
|
235 |
def set_custom_model_from_radio(selected):
|
236 |
"""
|
237 |
-
This function will
|
238 |
-
|
239 |
"""
|
240 |
print(f"Featured model selected: {selected}")
|
241 |
-
return
|
242 |
|
243 |
# Create the Gradio interface
|
244 |
demo = gr.ChatInterface(
|
|
|
234 |
|
235 |
def set_custom_model_from_radio(selected):
|
236 |
"""
|
237 |
+
This function will get triggered whenever someone picks a model from the 'Featured Models' radio.
|
238 |
+
We will update the Custom Model text box with that selection automatically.
|
239 |
"""
|
240 |
print(f"Featured model selected: {selected}")
|
241 |
+
return selected
|
242 |
|
243 |
# Create the Gradio interface
|
244 |
demo = gr.ChatInterface(
|