Spaces:
Running
Running
change img size
Browse files- app.py +7 -2
- interface_texts.csv +0 -16
app.py
CHANGED
@@ -118,8 +118,13 @@ def parameters_fewshot_prompt(text):
|
|
118 |
def gradio_app():
|
119 |
with gr.Blocks(theme=fronted_theme) as demo:
|
120 |
with gr.Row():
|
121 |
-
with gr.Column(
|
122 |
-
gr.HTML('<img src="https://huggingface.co/spaces/proxectonos/README/resolve/main/title-card.png" width="100%" style="border-radius: 0.75rem;">')
|
|
|
|
|
|
|
|
|
|
|
123 |
with gr.Column():
|
124 |
gr.Markdown(markdown_description_gl)
|
125 |
with gr.Row(equal_height=True):
|
|
|
118 |
def gradio_app():
|
119 |
with gr.Blocks(theme=fronted_theme) as demo:
|
120 |
with gr.Row():
|
121 |
+
with gr.Column():
|
122 |
+
#gr.HTML('<img src="https://huggingface.co/spaces/proxectonos/README/resolve/main/title-card.png" width="100%" style="border-radius: 0.75rem;">')
|
123 |
+
gr.Markdown(
|
124 |
+
"""
|
125 |
+
## <img src="https://huggingface.co/spaces/proxectonos/README/resolve/main/title-card.png" width="100%" style="border-radius: 0.75rem;">
|
126 |
+
"""
|
127 |
+
)
|
128 |
with gr.Column():
|
129 |
gr.Markdown(markdown_description_gl)
|
130 |
with gr.Row(equal_height=True):
|
interface_texts.csv
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
variable,en,gl
|
2 |
-
change_lang, Cambiar a Galego, Switch to English
|
3 |
-
change_lang_url,
|
4 |
-
model_select,Model selection,Seleccione un modelo
|
5 |
-
text_gl,Input,Entrada
|
6 |
-
accordion_parameters,Model parameters,Parámetros do modelo
|
7 |
-
max_length,Max tokens,Max tokens
|
8 |
-
repetition_penalty,Repetition penalty,Penalización por repetición
|
9 |
-
temperature,Temperature,Temperatura
|
10 |
-
generator_btn,Generate,Xerar
|
11 |
-
generated_gl_label,Output,Saída
|
12 |
-
generated_gl_placeholder,Generated text will appear here...,O texto xerado aparecerá aquí...
|
13 |
-
pass_btn,Pass text to input,Pasar texto á entrada
|
14 |
-
clean_btn,Clean,Limpar
|
15 |
-
examples_short_prompts,Short Prompts,Prompts curtos
|
16 |
-
examples_few_shot,Few-Shot Prompts,Prompts con poucos exemplos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|