Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,11 +81,27 @@ if __name__ == "__main__":
|
|
| 81 |
],
|
| 82 |
examples=[
|
| 83 |
["Implement snake game using pygame"],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
["Escreva um poema sobre a saudade."],
|
| 85 |
-
["
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
],
|
| 90 |
additional_inputs_accordion_name="Parameters",
|
| 91 |
).queue().launch()
|
|
|
|
| 81 |
],
|
| 82 |
examples=[
|
| 83 |
["Implement snake game using pygame"],
|
| 84 |
+
["Escribe un poema corto sobre la historia del Mediterráneo."],
|
| 85 |
+
["Scrivi un Haiku che celebri il gelato"],
|
| 86 |
+
["Schreibe ein Haiku über die Alpen."],
|
| 87 |
+
["Ecris une prose a propos de la mer du Nord."],
|
| 88 |
["Escreva um poema sobre a saudade."],
|
| 89 |
+
["""\
|
| 90 |
+
This is the error that is thrown for the given python code.
|
| 91 |
+
```python
|
| 92 |
+
import pandas as pd
|
| 93 |
+
df = pd.read_csv(PATH)
|
| 94 |
+
This throws an error,
|
| 95 |
+
```
|
| 96 |
+
```shell
|
| 97 |
+
pandas/io/common.py"", line 873, in get_handle
|
| 98 |
+
handle = open(
|
| 99 |
+
^^^^^
|
| 100 |
+
FileNotFoundError: [Errno 2] No such file or directory: 'data.csv'```
|
| 101 |
+
How to solve this ?
|
| 102 |
+
"""
|
| 103 |
+
],
|
| 104 |
+
["Jane has 8 apples, out of which 2 are red and 3 are green. How many of them are white? Assuming there are only 3 colors, can you solve this with python?"],
|
| 105 |
],
|
| 106 |
additional_inputs_accordion_name="Parameters",
|
| 107 |
).queue().launch()
|