tttarun commited on
Commit
d14403d
1 Parent(s): c1e4972

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -173,7 +173,8 @@ with gr.Blocks() as demo:
173
  previous_n_days = gr.Slider(minimum=1, maximum=180, value=30, label="Previous n days RSI threshold to check", step=1)
174
  rsi_threshold1 = gr.Slider(minimum=1, maximum=100, value=65, label="Previous RSI threshold", step=1)
175
  rsi_threshold2 = RangeSlider(label="Current RSI Range", minimum=0, maximum=100, value=[65, 70])
176
- range_ = gr.Markdown(value=text.format(min=0, max=100))
 
177
  rsi_threshold2.change(lambda s: text.format(min=s[0], max=s[1]), range_slider, range_,
178
  show_progress="hide", trigger_mode="always_last")
179
 
 
173
  previous_n_days = gr.Slider(minimum=1, maximum=180, value=30, label="Previous n days RSI threshold to check", step=1)
174
  rsi_threshold1 = gr.Slider(minimum=1, maximum=100, value=65, label="Previous RSI threshold", step=1)
175
  rsi_threshold2 = RangeSlider(label="Current RSI Range", minimum=0, maximum=100, value=[65, 70])
176
+ text1 = "## The range is: {min} to {max}"
177
+ range_ = gr.Markdown(value=text1.format(min=0, max=100))
178
  rsi_threshold2.change(lambda s: text.format(min=s[0], max=s[1]), range_slider, range_,
179
  show_progress="hide", trigger_mode="always_last")
180