Spaces:
Runtime error
Runtime error
fix: chatInterface adjustment of css not working for some reason
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ additional_inputs=[
|
|
110 |
]
|
111 |
|
112 |
CSS = """
|
113 |
-
|
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 |
)
|