damilojohn commited on
Commit
6cd3be5
·
1 Parent(s): 0557990

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -15,9 +15,19 @@ def descramble(prompt):
15
  output = Model.generate(input_ids=input_id,attention_mask=attention_mask,)
16
  output = tokenizer.decode(output[0],skip_special_tokens=True)
17
  return gr.Textbox.update(value=output)
18
-
 
 
 
 
 
 
 
 
 
 
19
  def set_example(example):
20
- return gr.TextArea.update(value=example[0])
21
 
22
  demo = gr.Blocks()
23
  with demo:
 
15
  output = Model.generate(input_ids=input_id,attention_mask=attention_mask,)
16
  output = tokenizer.decode(output[0],skip_special_tokens=True)
17
  return gr.Textbox.update(value=output)
18
+
19
+ examples = [['layer Neurons receptive of input visual develop cortex primates in edge-like primary in the fields.'],
20
+ ['of role unknown. still is in largely the representations homeostasis sparse such learning specific However,'],
21
+ ['coding sparse is fair. optimized it when is Competition in'],
22
+ ['sparse excitatory neurons. of inhibitory connections populations and and separate'],
23
+ ['E. in proteins to oscillation Ongoing is Min required minicelling coli. block of sub-cellular'],
24
+ ['Experimentally, newly and divided are Min minicells produced. cells no are in seen oscillations'],
25
+ ['this behavior been role of sedentary has determined. The in not defect'],
26
+ ['connections models These have for and important consequences of dynamics protein thermodynamics.'],
27
+ ['plays role metric classification. The an important (NN) in nearest neighbor distance'],
28
+ ['physiologically monostability. likely more That within ranges for multistability plausible becomes parameters, is, than']]
29
  def set_example(example):
30
+ return gr.TextArea.update(value=examples[0][0])
31
 
32
  demo = gr.Blocks()
33
  with demo: