cmckinle commited on
Commit
fe5a7ad
·
verified ·
1 Parent(s): 8ad891b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -261,7 +261,7 @@ def create_gradio_interface():
261
 
262
  with gr.Group():
263
  with gr.Box():
264
- gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{MODEL_NAME}'>{MODEL_NAME}</a></b>""")
265
  output_html = gr.HTML()
266
  output_label = gr.Label(label="Output")
267
 
@@ -289,7 +289,7 @@ def create_gradio_interface():
289
  individual_process_btn = gr.Button("Process Individual Files", interactive=False)
290
 
291
  with gr.Group():
292
- gr.Markdown(f"### Results for {MODEL_NAME}")
293
  output_acc = gr.Label(label="Accuracy")
294
  output_roc = gr.Label(label="ROC Score")
295
  output_report = gr.HTML(label="Classification Report")
@@ -368,4 +368,4 @@ if __name__ == "__main__":
368
  show_api=False,
369
  max_threads=24,
370
  show_error=True
371
- )
 
261
 
262
  with gr.Group():
263
  with gr.Box():
264
+ gr.HTML(f"""<b>Model: Newhouse AI Image Detection Model v1.0</b>""")
265
  output_html = gr.HTML()
266
  output_label = gr.Label(label="Output")
267
 
 
289
  individual_process_btn = gr.Button("Process Individual Files", interactive=False)
290
 
291
  with gr.Group():
292
+ gr.Markdown(f"### Newhouse AI Image Detection Model v1.0")
293
  output_acc = gr.Label(label="Accuracy")
294
  output_roc = gr.Label(label="ROC Score")
295
  output_report = gr.HTML(label="Classification Report")
 
368
  show_api=False,
369
  max_threads=24,
370
  show_error=True
371
+ )