MaksG commited on
Commit
b901c76
1 Parent(s): 5438143

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks() as demo:
113
 
114
 
115
  with gr.Tab("Ask LLM"):
116
- gr.Markdown("**This section utilizes Large Language Models (LLMs) to query rows in an Excel file**")
117
  dd_source_ask = gr.Dropdown(label="Source Column(s)", multiselect=True)
118
  tb_destcol = gr.Textbox(label="Destination column label (e.g. Summary, ELI5, PAB)")
119
  dd_prompt = gr.Dropdown(label="Prompt", allow_custom_value=True, multiselect=True, max_choices=1)
@@ -125,7 +125,7 @@ with gr.Blocks() as demo:
125
  mist_button = gr.Button("Ask AI")
126
 
127
  with gr.Tab("Classification by topic"):
128
- gr.Markdown("**This section will categories each contribution in your own personalized categories**")
129
  dd_source_class = gr.Dropdown(label="Source Column", multiselect=False)
130
  gr.Markdown("### The predefined categories can be modified at any time")
131
  df_category = gr.DataFrame(label='categories', value=df_cate, interactive=True)
@@ -154,7 +154,7 @@ with gr.Blocks() as demo:
154
  plt_chart3 = gr.Plot(label="Graphique")
155
 
156
  with gr.Tab("Code on your file"):
157
- gr.Markdown("**This section lets you add your own code to add functions and filters to edit the files**")
158
  with gr.Accordion("Input DataFrame Preview", open=False):
159
  df_input = gr.DataFrame(interactive=False)
160
  gr.Markdown("```python\ndf = pd.read_excel(YOUR_FILE)\n```")
 
113
 
114
 
115
  with gr.Tab("Ask LLM"):
116
+ gr.Markdown("### This section utilizes Large Language Models (LLMs) to query rows in an Excel file")
117
  dd_source_ask = gr.Dropdown(label="Source Column(s)", multiselect=True)
118
  tb_destcol = gr.Textbox(label="Destination column label (e.g. Summary, ELI5, PAB)")
119
  dd_prompt = gr.Dropdown(label="Prompt", allow_custom_value=True, multiselect=True, max_choices=1)
 
125
  mist_button = gr.Button("Ask AI")
126
 
127
  with gr.Tab("Classification by topic"):
128
+ gr.Markdown("### This section will categories each contribution in your own personalized categories")
129
  dd_source_class = gr.Dropdown(label="Source Column", multiselect=False)
130
  gr.Markdown("### The predefined categories can be modified at any time")
131
  df_category = gr.DataFrame(label='categories', value=df_cate, interactive=True)
 
154
  plt_chart3 = gr.Plot(label="Graphique")
155
 
156
  with gr.Tab("Code on your file"):
157
+ gr.Markdown("### This section lets you add your own code to add functions and filters to edit the files")
158
  with gr.Accordion("Input DataFrame Preview", open=False):
159
  df_input = gr.DataFrame(interactive=False)
160
  gr.Markdown("```python\ndf = pd.read_excel(YOUR_FILE)\n```")