cryptocalypse commited on
Commit
a465226
·
1 Parent(s): 1cf280e

entropy memory views

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -244,22 +244,22 @@ with gr.Blocks(title="Sophia, Torah Codes",css=css,js=js) as app:
244
 
245
 
246
 
247
- with gr.Row():
248
  with gr.Column():
249
- c_time2 = gr.Textbox(label="Memory refreshed every second")
250
- gr.Textbox(
251
- "Change the value of the slider to calibrate the memory",
252
- label="",
253
- )
254
- period = gr.Slider(
255
- label="Period of plot", value=1, minimum=0, maximum=10, step=1
256
- )
257
- plot = gr.LinePlot(show_label=False)
258
-
259
-
260
- demo.load(lambda: datetime.datetime.now(), None, c_time2, every=1)
261
- dep = demo.load(get_plot, None, plot, every=1)
262
- period.change(get_plot, period, plot, every=1, cancels=[dep])
263
 
264
 
265
 
 
244
 
245
 
246
 
247
+ with gr.Row():
248
  with gr.Column():
249
+ c_time2 = gr.Textbox(label="Memory refreshed every second")
250
+ gr.Textbox(
251
+ "Change the value of the slider to calibrate the memory",
252
+ label="",
253
+ )
254
+ period = gr.Slider(
255
+ label="Period of plot", value=1, minimum=0, maximum=10, step=1
256
+ )
257
+ plot = gr.LinePlot(show_label=False)
258
+
259
+
260
+ demo.load(lambda: datetime.datetime.now(), None, c_time2, every=1)
261
+ dep = demo.load(get_plot, None, plot, every=1)
262
+ period.change(get_plot, period, plot, every=1, cancels=[dep])
263
 
264
 
265