Spaces:
Runtime error
Runtime error
Benjamin Gonzalez
commited on
Commit
·
ff04433
1
Parent(s):
839fca3
fix examples
Browse files
app.py
CHANGED
|
@@ -29,23 +29,24 @@ demo = gr.Interface(
|
|
| 29 |
outputs="text",
|
| 30 |
examples=[
|
| 31 |
[
|
| 32 |
-
"
|
| 33 |
-
|
| 34 |
],
|
| 35 |
[
|
| 36 |
"Instruct: Write a detailed analogy between mathematics and a lighthouse.\nOutput:",
|
| 37 |
-
|
| 38 |
],
|
| 39 |
[
|
| 40 |
-
"Alice: I don't know why, I'm struggling to maintain focus while studying. Any suggestions?\nBob: ",
|
| 41 |
-
|
| 42 |
],
|
| 43 |
[
|
| 44 |
-
'''
|
|
|
|
| 45 |
"""
|
| 46 |
Print all primes between 1 and n
|
| 47 |
"""\n''',
|
| 48 |
-
|
| 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",
|