Spaces:
Runtime error
Runtime error
add code T5
Browse files
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(
|
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 |
],
|