Benjamin Gonzalez commited on
Commit
ff04433
·
1 Parent(s): 839fca3

fix examples

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -29,23 +29,24 @@ demo = gr.Interface(
29
  outputs="text",
30
  examples=[
31
  [
32
- "Instruct: Write a detailed analogy between mathematics and a lighthouse.",
33
- 50,
34
  ],
35
  [
36
  "Instruct: Write a detailed analogy between mathematics and a lighthouse.\nOutput:",
37
- 50,
38
  ],
39
  [
40
- "Alice: I don't know why, I'm struggling to maintain focus while studying. Any suggestions?\nBob: ",
41
- 100,
42
  ],
43
  [
44
- '''def print_prime(n):
 
45
  """
46
  Print all primes between 1 and n
47
  """\n''',
48
- 200,
49
  ],
50
  ],
51
  title="Microsoft Phi-2",
 
29
  outputs="text",
30
  examples=[
31
  [
32
+ "Write a detailed analogy between mathematics and a lighthouse.",
33
+ 75,
34
  ],
35
  [
36
  "Instruct: Write a detailed analogy between mathematics and a lighthouse.\nOutput:",
37
+ 75,
38
  ],
39
  [
40
+ "Alice: I don't know why, I'm struggling to maintain focus while studying. Any suggestions?\n\nBob: ",
41
+ 150,
42
  ],
43
  [
44
+ '''```python
45
+ def print_prime(n):
46
  """
47
  Print all primes between 1 and n
48
  """\n''',
49
+ 125,
50
  ],
51
  ],
52
  title="Microsoft Phi-2",