Spaces:
Runtime error
Runtime error
Commit
·
e71e96b
1
Parent(s):
6779ad6
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def post(jsn):
|
|
46 |
|
47 |
def get_script(lang, instruction):
|
48 |
jsn = {"inputs": comment_syntaxes[lang].format("Programming Language: " + lang) + "\n" + comment_syntaxes[lang].format("Instruction: " + instruction.replace(
|
49 |
-
'\n', '')) + '\n'
|
50 |
return post(jsn)
|
51 |
|
52 |
|
|
|
46 |
|
47 |
def get_script(lang, instruction):
|
48 |
jsn = {"inputs": comment_syntaxes[lang].format("Programming Language: " + lang) + "\n" + comment_syntaxes[lang].format("Instruction: " + instruction.replace(
|
49 |
+
'\n', '')) + '\n', **jsn_trail}
|
50 |
return post(jsn)
|
51 |
|
52 |
|