Antoine101 commited on
Commit
1828143
·
verified ·
1 Parent(s): 317c901

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -3,5 +3,16 @@ import gradio as gr
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
 
 
 
 
 
 
 
 
 
 
 
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()