Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -210,7 +210,17 @@ 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(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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(
|
214 |
+
fn=reload,
|
215 |
+
inputs=[gr.Dropdown(choices=model_ids, value=model_id)],
|
216 |
+
outputs="text"
|
217 |
+
# gr.HighlightedText(
|
218 |
+
# label="status",
|
219 |
+
# combine_adjacent=True,
|
220 |
+
# show_legend=True,
|
221 |
+
# color_map={"+": "red", "-": "green"}
|
222 |
+
# ),
|
223 |
+
)
|
224 |
|
225 |
# Add chat interface
|
226 |
chat_interface = gr.ChatInterface(
|