pvduy commited on
Commit
2f52a8c
1 Parent(s): eb95198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -17
app.py CHANGED
@@ -80,28 +80,13 @@ if __name__ == "__main__":
80
  gr.Slider(100, 2048, 1024, label="Max Tokens"),
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()
 
80
  gr.Slider(100, 2048, 1024, label="Max Tokens"),
81
  ],
82
  examples=[
83
+ ["What's been the role of music in human societies?"],
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
+ ["Jane has 8 apples, out of which 2 are red and 3 are green. Assuming there are only red, green and white apples, how many of them are white? Solve this in Python."],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  ],
91
  additional_inputs_accordion_name="Parameters",
92
  ).queue().launch()