Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,12 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
2 |
def update(name):
|
3 |
-
|
|
|
|
|
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.")
|