osimeoni commited on
Commit
907a760
1 Parent(s): 3ab688e

FOUND - first

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1,9 +1,16 @@
1
  import gradio as gr
2
 
 
 
 
 
 
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
 
7
  iface.launch()
8
 
9
 
 
1
  import gradio as gr
2
 
3
+ title = 'FOUND'
4
+ description = 'Gradio Demo accompanying paper "Unsupervised Object Localization: Observing the Background to Discover Objects"\n \
5
+ The app is running CPU-only, times are therefore .\n'
6
+ article = """<h1 align="center">[FOUND] Unsupervised Object Localization: Observing the Background to Discover Objects</h1>
7
+ """
8
+
9
  def greet(name):
10
  return "Hello " + name + "!!"
11
 
12
+ iface = gr.Interface(fn=greet, title=title, description=description,
13
+ article=article, inputs="text", outputs="text")
14
  iface.launch()
15
 
16