stmnk commited on
Commit
3af797d
·
1 Parent(s): ceb943c

add docstring

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ real_docstring = r"""
114
  def docgen_func(function_code):
115
  req_data = {"inputs": function_code}
116
  output = query(req_data)
117
- return f'"""\n{output[0]['generated_text']}\n"""'
118
 
119
  def pygen_func(nl_code_intent):
120
  pass # TODO: generate code PL from intent NL + search in corpus
 
114
  def docgen_func(function_code):
115
  req_data = {"inputs": function_code}
116
  output = query(req_data)
117
+ return f'"""\n{output[0]["generated_text"]}\n"""'
118
 
119
  def pygen_func(nl_code_intent):
120
  pass # TODO: generate code PL from intent NL + search in corpus