jgwill commited on
Commit
3ef9711
·
1 Parent(s): 6528a39
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  from jgtutils.jgtpov import get_higher_tf_by_level
3
 
4
- def greet(name):
5
- return "Hello " + name + "!!"
6
 
7
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
  demo.launch()
9
 
 
1
  import gradio as gr
2
  from jgtutils.jgtpov import get_higher_tf_by_level
3
 
4
+ def gettf(timeframe):
5
+ return get_higher_tf_by_level(timeframe)
6
 
7
+ demo = gr.Interface(fn=gettf, inputs="text", outputs="text")
8
  demo.launch()
9