cahya commited on
Commit
9aae25d
1 Parent(s): 3284509

update css

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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
- with gr.Blocks(css="#answer_id span {white-space: pre-line} #answer_en span {white-space: pre-line}") as demo:
 
 
 
 
 
 
 
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