abidlabs HF staff commited on
Commit
be05365
1 Parent(s): 5dd2551

Update space.py

Browse files
Files changed (1) hide show
  1. space.py +4 -4
space.py CHANGED
@@ -46,18 +46,18 @@ from gradio_highlightedcode import HighlightedCode
46
 
47
  example = HighlightedCode().example_inputs()
48
 
49
- initial_value = """import random
50
 
51
  def scramble_name(name):
52
  name_list = list(name)
53
- """
54
 
55
- completion = """ random.shuffle(name_list)
56
  return ''.join(name_list)
57
 
58
  # Example usage:
59
  print(scramble_name("Python"))
60
- """
61
 
62
  def generate_code():
63
  for i in range(len(completion)):
 
46
 
47
  example = HighlightedCode().example_inputs()
48
 
49
+ initial_value = \"\"\"import random
50
 
51
  def scramble_name(name):
52
  name_list = list(name)
53
+ \"\"\"
54
 
55
+ completion = \"\"\" random.shuffle(name_list)
56
  return ''.join(name_list)
57
 
58
  # Example usage:
59
  print(scramble_name("Python"))
60
+ \"\"\"
61
 
62
  def generate_code():
63
  for i in range(len(completion)):