Spaces:
Runtime error
Runtime error
abdulmeLINK
commited on
Commit
•
6779ad6
1
Parent(s):
5e436e0
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def post(jsn):
|
|
45 |
|
46 |
|
47 |
def get_script(lang, instruction):
|
48 |
-
jsn = {"inputs": "Programming Language: " + lang + "\n" + comment_syntaxes[lang].format("Instruction: " + instruction.replace(
|
49 |
'\n', '')) + '\n' + comment_syntaxes[lang].format("code below :") + '\n', **jsn_trail}
|
50 |
return post(jsn)
|
51 |
|
|
|
45 |
|
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' + comment_syntaxes[lang].format("code below :") + '\n', **jsn_trail}
|
50 |
return post(jsn)
|
51 |
|