update css
Browse files
app.py
CHANGED
@@ -35,7 +35,14 @@ def get_answer(user_input, decoding_methods, num_beams, top_k, top_p, temperatur
|
|
35 |
[(f"{user_input_en}\n", None), (answer_without_prompt_en, "")]
|
36 |
|
37 |
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
with gr.Row():
|
40 |
gr.Markdown("""## IndoChat
|
41 |
|
|
|
35 |
[(f"{user_input_en}\n", None), (answer_without_prompt_en, "")]
|
36 |
|
37 |
|
38 |
+
css = """
|
39 |
+
#answer_id span {white-space: pre-line}
|
40 |
+
#answer_id span.label {display: none}
|
41 |
+
#answer_en span {white-space: pre-line}
|
42 |
+
#answer_en span.label {display: none}
|
43 |
+
"""
|
44 |
+
|
45 |
+
with gr.Blocks(css=css) as demo:
|
46 |
with gr.Row():
|
47 |
gr.Markdown("""## IndoChat
|
48 |
|