jonathanjordan21 commited on
Commit
093b3a1
·
verified ·
1 Parent(s): d07c41d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
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(fn=reload, inputs=[gr.Dropdown(choices=model_ids, value=model_id)], outputs="label")
 
 
 
 
 
 
 
 
 
 
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(