Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,7 +210,7 @@ with gr.Blocks() as demo:
|
|
| 210 |
gr.Markdown("# Valid License Plate Number Criteria:")
|
| 211 |
gr.Markdown("(1-2 letters) (4 numbers) (1-3 letters)")
|
| 212 |
|
| 213 |
-
reload_model = gr.Interface(fn=
|
| 214 |
|
| 215 |
# Add chat interface
|
| 216 |
chat_interface = gr.ChatInterface(
|
|
|
|
| 210 |
gr.Markdown("# Valid License Plate Number Criteria:")
|
| 211 |
gr.Markdown("(1-2 letters) (4 numbers) (1-3 letters)")
|
| 212 |
|
| 213 |
+
reload_model = gr.Interface(fn=reload, inputs=[gr.Dropdown(choices=model_ids, value=model_id)], outputs="label")
|
| 214 |
|
| 215 |
# Add chat interface
|
| 216 |
chat_interface = gr.ChatInterface(
|