Spaces:
Sleeping
Sleeping
Kvikontent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def query(payload):
|
|
14 |
|
15 |
st.markdown(f":blue_background[Create] Code With AI")
|
16 |
st.write("Real-time Code Generation & Code Editor")
|
17 |
-
lang = st.
|
18 |
code = code_editor("Your Code Here", height=[1, 200], lang=lang)
|
19 |
if st.button("Run AI"):
|
20 |
output = query({
|
|
|
14 |
|
15 |
st.markdown(f":blue_background[Create] Code With AI")
|
16 |
st.write("Real-time Code Generation & Code Editor")
|
17 |
+
lang = st.selectbox("Choose Language", ["Python", "Javascript", "HTML", "C++", "CS", "Markdown", "Java", "C", "Go", "Ruby"])
|
18 |
code = code_editor("Your Code Here", height=[1, 200], lang=lang)
|
19 |
if st.button("Run AI"):
|
20 |
output = query({
|