analytics
Browse files
app.py
CHANGED
|
@@ -51,8 +51,8 @@ def trend(t):
|
|
| 51 |
yaxis_title="Trend in Volume",
|
| 52 |
)
|
| 53 |
return fig
|
| 54 |
-
|
| 55 |
-
return gr.ScatterPlot(d, x="Close_MA", y="Volume_MA",color='ticker')
|
| 56 |
|
| 57 |
'''
|
| 58 |
SIMILAR VECTOR DB SEARCH
|
|
@@ -236,10 +236,11 @@ Use Case:
|
|
| 236 |
label="Ticker",
|
| 237 |
info="Identify Industry Trend, (top right is grow trending)"
|
| 238 |
)
|
| 239 |
-
plot = gr.
|
| 240 |
#plot = gr.Plot(label="Identify Trend/Decline Industry")
|
| 241 |
btn_ts = gr.Button("Find Trending Industry")
|
| 242 |
-
btn_ts.click(fn=trend, inputs=in_ts, outputs=plot
|
|
|
|
| 243 |
|
| 244 |
gr.Markdown("""
|
| 245 |
|
|
|
|
| 51 |
yaxis_title="Trend in Volume",
|
| 52 |
)
|
| 53 |
return fig
|
| 54 |
+
|
| 55 |
+
#return gr.ScatterPlot(d, x="Close_MA", y="Volume_MA",color='ticker')
|
| 56 |
|
| 57 |
'''
|
| 58 |
SIMILAR VECTOR DB SEARCH
|
|
|
|
| 236 |
label="Ticker",
|
| 237 |
info="Identify Industry Trend, (top right is grow trending)"
|
| 238 |
)
|
| 239 |
+
plot = gr.Plot()
|
| 240 |
#plot = gr.Plot(label="Identify Trend/Decline Industry")
|
| 241 |
btn_ts = gr.Button("Find Trending Industry")
|
| 242 |
+
btn_ts.click(fn=trend, inputs=in_ts, outputs=plot,
|
| 243 |
+
cache_examples=True)
|
| 244 |
|
| 245 |
gr.Markdown("""
|
| 246 |
|