M17idd commited on
Commit
16f58d4
·
verified ·
1 Parent(s): 8398c29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ with ui.sidebar(open="desktop"):
24
 
25
  )
26
  ui.input_checkbox_group(
27
- "time",
28
  " service",
29
  ["Twitter", "Instagram"],
30
  selected=["Twitter", "Instagram"],
@@ -158,7 +158,7 @@ ui.include_css(app_dir / "styles.css")
158
  def tips_data():
159
  سنی = input.سن()
160
  idx1 = tips.سن.between(سنی[0], سنی[1]) # Corrected range filter
161
- idx2 = tips.time.isin(input.time()) # Filter based on selected time (Twitter, Instagram)
162
  return tips[idx1 & idx2] # Apply filters to the tips data
163
 
164
  @reactive.effect
 
24
 
25
  )
26
  ui.input_checkbox_group(
27
+ "تاریخ",
28
  " service",
29
  ["Twitter", "Instagram"],
30
  selected=["Twitter", "Instagram"],
 
158
  def tips_data():
159
  سنی = input.سن()
160
  idx1 = tips.سن.between(سنی[0], سنی[1]) # Corrected range filter
161
+ idx2 = tips.تاریخ.isin(input.time()) # Filter based on selected time (Twitter, Instagram)
162
  return tips[idx1 & idx2] # Apply filters to the tips data
163
 
164
  @reactive.effect