Spaces:
Sleeping
Sleeping
A-Duss
commited on
Commit
·
74aeece
1
Parent(s):
92a0f65
pydantic
Browse files- app.py +3 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -181,11 +181,12 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
181 |
)
|
182 |
|
183 |
loaded_languages = gr.HighlightedText(
|
184 |
-
value = [('Currently loaded languages:', None), ('English', 'en')],
|
185 |
label="",
|
186 |
combine_adjacent=True,
|
187 |
show_legend=False, #True,
|
188 |
-
color_map=color_map
|
|
|
189 |
|
190 |
#loaded_languages = gr.Markdown("Currently loaded languages: en")
|
191 |
|
|
|
181 |
)
|
182 |
|
183 |
loaded_languages = gr.HighlightedText(
|
184 |
+
value = [('Currently loaded languages: \n', None), ('English', 'en')],
|
185 |
label="",
|
186 |
combine_adjacent=True,
|
187 |
show_legend=False, #True,
|
188 |
+
color_map=color_map,
|
189 |
+
scale=0)
|
190 |
|
191 |
#loaded_languages = gr.Markdown("Currently loaded languages: en")
|
192 |
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
git+https://github.com/lightblue-tech/shitsu.git
|
2 |
hf-transfer
|
3 |
huggingface_hub[hf_transfer]
|
4 |
-
pydantic
|
|
|
1 |
git+https://github.com/lightblue-tech/shitsu.git
|
2 |
hf-transfer
|
3 |
huggingface_hub[hf_transfer]
|
4 |
+
pydantic==1.10.12
|