Spaces:
Running
Running
update code language
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ from dashscope.utils.oss_utils import check_and_upload_local
|
|
| 38 |
|
| 39 |
# Gradio supported languages for syntax highlighting
|
| 40 |
GRADIO_SUPPORTED_LANGUAGES = [
|
| 41 |
-
"python", "
|
| 42 |
]
|
| 43 |
|
| 44 |
def get_gradio_language(language):
|
|
@@ -7350,7 +7350,7 @@ with gr.Blocks(
|
|
| 7350 |
)
|
| 7351 |
# Language dropdown for code generation (add Streamlit and Gradio as first-class options)
|
| 7352 |
language_choices = [
|
| 7353 |
-
"html", "gradio", "transformers.js", "streamlit", "
|
| 7354 |
]
|
| 7355 |
language_dropdown = gr.Dropdown(
|
| 7356 |
choices=language_choices,
|
|
|
|
| 38 |
|
| 39 |
# Gradio supported languages for syntax highlighting
|
| 40 |
GRADIO_SUPPORTED_LANGUAGES = [
|
| 41 |
+
"python", "json", "html"
|
| 42 |
]
|
| 43 |
|
| 44 |
def get_gradio_language(language):
|
|
|
|
| 7350 |
)
|
| 7351 |
# Language dropdown for code generation (add Streamlit and Gradio as first-class options)
|
| 7352 |
language_choices = [
|
| 7353 |
+
"html", "gradio", "transformers.js", "streamlit", "comfyui"
|
| 7354 |
]
|
| 7355 |
language_dropdown = gr.Dropdown(
|
| 7356 |
choices=language_choices,
|