loubnabnl HF staff commited on
Commit
0847ae0
·
1 Parent(s): 00fcf76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ title = "CodeParrot Generator 🦜"
7
  description = "This is a subspace to make code generation with [CodeParrot](https://huggingface.co/lvwerra/codeparrot), it is used in a larger [space](https://huggingface.co/spaces/loubnabnl/Code-generation-models-v1) for model comparison. For more flexibilty in sampling, you can find another demo for CodeParrot [here](https://huggingface.co/spaces/lvwerra/codeparrot-generation)."
8
  example = [
9
  ["def print_hello_world():", 8, 0.6, 42],
10
- ["def get_file_size(filepath):", 24, 0.6, 42],
11
  ["def count_lines(filename):", 40, 0.6, 42],
12
  ["def count_words(filename):", 40, 0.6, 42]]
13
  tokenizer = AutoTokenizer.from_pretrained("lvwerra/codeparrot")
 
7
  description = "This is a subspace to make code generation with [CodeParrot](https://huggingface.co/lvwerra/codeparrot), it is used in a larger [space](https://huggingface.co/spaces/loubnabnl/Code-generation-models-v1) for model comparison. For more flexibilty in sampling, you can find another demo for CodeParrot [here](https://huggingface.co/spaces/lvwerra/codeparrot-generation)."
8
  example = [
9
  ["def print_hello_world():", 8, 0.6, 42],
10
+ ["def get_file_size(filepath):", 40, 0.6, 42],
11
  ["def count_lines(filename):", 40, 0.6, 42],
12
  ["def count_words(filename):", 40, 0.6, 42]]
13
  tokenizer = AutoTokenizer.from_pretrained("lvwerra/codeparrot")