fruitpicker01 commited on
Commit
e4e664d
·
verified ·
1 Parent(s): 46f46f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -1632,17 +1632,18 @@ with gr.Blocks() as demo:
1632
 
1633
  # Вкладка 2: Промпты
1634
  with gr.TabItem("Ассистент", id=1):
1635
- selected_approaches_text = gr.Markdown()
1636
- with gr.Row():
1637
- with gr.Column():
1638
- non_personalized_prompt = gr.Textbox(
1639
- label="Задание для копирайтера",
1640
- lines=23,
1641
- interactive=False)
1642
- with gr.Column():
1643
- personalized_prompt = gr.Textbox(label="Задание для редактора", lines=23)
 
 
1644
 
1645
-
1646
  # Вкладка 3: Сообщения
1647
  with gr.TabItem("Сообщения", id=2):
1648
  with gr.Row():
 
1632
 
1633
  # Вкладка 2: Промпты
1634
  with gr.TabItem("Ассистент", id=1):
1635
+ with gr.Group():
1636
+ selected_approaches_text_content = selected_approaches_text_content.strip()
1637
+ selected_approaches_text = gr.Markdown(elem_id="selected-approaches-text")
1638
+ with gr.Row():
1639
+ with gr.Column():
1640
+ non_personalized_prompt = gr.Textbox(
1641
+ label="Задание для копирайтера",
1642
+ lines=23,
1643
+ interactive=False)
1644
+ with gr.Column():
1645
+ personalized_prompt = gr.Textbox(label="Задание для редактора", lines=23)
1646
 
 
1647
  # Вкладка 3: Сообщения
1648
  with gr.TabItem("Сообщения", id=2):
1649
  with gr.Row():