stmnk commited on
Commit
7d8fd50
·
1 Parent(s): 2b7da55

add code T5

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def pygen_func(code_nl):
14
  answer = json.loads(prediction.content.decode("utf-8"))
15
  return 'BOOM!'
16
 
17
- iface = gr.Interface(qa_func,
18
  [
19
  gr.inputs.Textbox(lines=7, label="Context", default=code_nl),
20
  ],
 
14
  answer = json.loads(prediction.content.decode("utf-8"))
15
  return 'BOOM!'
16
 
17
+ iface = gr.Interface(pygen_func,
18
  [
19
  gr.inputs.Textbox(lines=7, label="Context", default=code_nl),
20
  ],