radames commited on
Commit
3186b06
·
1 Parent(s): fb1ceb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,6 +1,12 @@
1
  import gradio as gr
 
 
 
 
2
  def update(name):
3
- return f"Welcome to Gradio, {name}!"
 
 
4
 
5
  with gr.Blocks() as demo:
6
  gr.Markdown("Start typing below and then click **Run** to see the output.")
 
1
  import gradio as gr
2
+ import numpy as np
3
+ import talib
4
+
5
+
6
  def update(name):
7
+ close = np.random.random(100)
8
+ output = talib.SMA(close)
9
+ return output
10
 
11
  with gr.Blocks() as demo:
12
  gr.Markdown("Start typing below and then click **Run** to see the output.")