stmnk commited on
Commit
50fc7dd
·
1 Parent(s): b35ca3b

fix? broken line

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -189,9 +189,7 @@ def docgen_func(function_code, min_length, max_length, top_k, top_p, temp, repet
189
  else:
190
  msg = str(output)
191
  if msg == "{'error': 'Model stmnk/codet5-small-code-summarization-python is currently loading', 'estimated_time': 20}":
192
- return msg + '
193
-
194
- Please wait for the model to load and try again'
195
  return str(output)
196
 
197
  iface = gr.Interface(
 
189
  else:
190
  msg = str(output)
191
  if msg == "{'error': 'Model stmnk/codet5-small-code-summarization-python is currently loading', 'estimated_time': 20}":
192
+ return msg + 'Please wait for the model to load and try again'
 
 
193
  return str(output)
194
 
195
  iface = gr.Interface(