Spaces:
Runtime error
Runtime error
fix: use the correct css
Browse files
app.py
CHANGED
|
@@ -247,7 +247,6 @@ textbox_whoareu = gr.Textbox(
|
|
| 247 |
show_label=False,
|
| 248 |
lines=1,
|
| 249 |
placeholder="Who are you?",
|
| 250 |
-
rtl=False,
|
| 251 |
)
|
| 252 |
|
| 253 |
chat_interface = gr.ChatInterface(
|
|
@@ -333,14 +332,16 @@ def save_whotheyare(x):
|
|
| 333 |
with gr.Blocks(css=CSS) as demo:
|
| 334 |
|
| 335 |
with gr.Row():
|
| 336 |
-
with gr.Column(
|
|
|
|
| 337 |
gr.Markdown(
|
| 338 |
"""
|
| 339 |
PERSIAN GPT by Data Analytics Lab
|
| 340 |
"""
|
| 341 |
)
|
| 342 |
with gr.Row():
|
| 343 |
-
with gr.Column(
|
|
|
|
| 344 |
textbox_whoareu.render()
|
| 345 |
textbox_whoareu.change(fn=save_whotheyare, inputs=textbox_whoareu, outputs=None,
|
| 346 |
show_progress = False, status_tracker = None)
|
|
|
|
| 247 |
show_label=False,
|
| 248 |
lines=1,
|
| 249 |
placeholder="Who are you?",
|
|
|
|
| 250 |
)
|
| 251 |
|
| 252 |
chat_interface = gr.ChatInterface(
|
|
|
|
| 332 |
with gr.Blocks(css=CSS) as demo:
|
| 333 |
|
| 334 |
with gr.Row():
|
| 335 |
+
with gr.Column(css="""textarea {direction: ltl}
|
| 336 |
+
p {direction: ltl}"""):
|
| 337 |
gr.Markdown(
|
| 338 |
"""
|
| 339 |
PERSIAN GPT by Data Analytics Lab
|
| 340 |
"""
|
| 341 |
)
|
| 342 |
with gr.Row():
|
| 343 |
+
with gr.Column(css="""textarea {direction: ltl}
|
| 344 |
+
p {direction: ltl}"""):
|
| 345 |
textbox_whoareu.render()
|
| 346 |
textbox_whoareu.change(fn=save_whotheyare, inputs=textbox_whoareu, outputs=None,
|
| 347 |
show_progress = False, status_tracker = None)
|