Update app.py
Browse files
app.py
CHANGED
@@ -3,5 +3,16 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
demo.launch()
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
+
title = "Do you have your helmet on?"
|
7 |
+
description = """
|
8 |
+
DETR model finetuned on "anindya64/hardhat" for hard hats detection.
|
9 |
+
"""
|
10 |
+
|
11 |
+
demo = gr.Interface(
|
12 |
+
fn=greet,
|
13 |
+
inputs="text",
|
14 |
+
outputs="text",
|
15 |
+
title=title,
|
16 |
+
description=description
|
17 |
+
)
|
18 |
demo.launch()
|