vpcom commited on
Commit
d05564f
·
1 Parent(s): f6b451f

fix: chatInterface adjustment of css not working for some reason

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -110,7 +110,7 @@ additional_inputs=[
110
  ]
111
 
112
  CSS = """
113
- #chatbot {direction: rtl; white-space: pre-line;}
114
  """
115
  with gr.Blocks(css=CSS) as demo:
116
  with gr.Row():
@@ -123,7 +123,6 @@ with gr.Blocks(css=CSS) as demo:
123
 
124
  gr.ChatInterface(
125
  generate,
126
- elem_id="chatbot",
127
  examples=EXAMPLES,
128
  additional_inputs=additional_inputs
129
  )
 
110
  ]
111
 
112
  CSS = """
113
+ .gradio-container {direction: rtl; white-space: pre-line;}
114
  """
115
  with gr.Blocks(css=CSS) as demo:
116
  with gr.Row():
 
123
 
124
  gr.ChatInterface(
125
  generate,
 
126
  examples=EXAMPLES,
127
  additional_inputs=additional_inputs
128
  )