Spaces:
Running
Running
Commit
·
6b6b7cc
1
Parent(s):
64f6381
Change title to CatLLM and button to Upload File
Browse files
app.py
CHANGED
|
@@ -223,8 +223,8 @@ result.to_csv("classified_results.csv", index=False)
|
|
| 223 |
return gr.update(value=code, visible=True)
|
| 224 |
|
| 225 |
|
| 226 |
-
with gr.Blocks(title="
|
| 227 |
-
gr.Markdown("#
|
| 228 |
gr.Markdown("Classify survey responses into custom categories using LLMs.")
|
| 229 |
|
| 230 |
category_count = gr.State(value=INITIAL_CATEGORIES)
|
|
@@ -242,7 +242,7 @@ with gr.Blocks(title="catllm - Survey Response Classifier") as demo:
|
|
| 242 |
choices=[],
|
| 243 |
info="Select the column containing text to classify"
|
| 244 |
)
|
| 245 |
-
load_cols_btn = gr.Button("
|
| 246 |
|
| 247 |
gr.Markdown("### Categories")
|
| 248 |
category_inputs = []
|
|
|
|
| 223 |
return gr.update(value=code, visible=True)
|
| 224 |
|
| 225 |
|
| 226 |
+
with gr.Blocks(title="CatLLM - Survey Response Classifier") as demo:
|
| 227 |
+
gr.Markdown("# CatLLM - Survey Response Classifier")
|
| 228 |
gr.Markdown("Classify survey responses into custom categories using LLMs.")
|
| 229 |
|
| 230 |
category_count = gr.State(value=INITIAL_CATEGORIES)
|
|
|
|
| 242 |
choices=[],
|
| 243 |
info="Select the column containing text to classify"
|
| 244 |
)
|
| 245 |
+
load_cols_btn = gr.Button("Upload File", size="sm")
|
| 246 |
|
| 247 |
gr.Markdown("### Categories")
|
| 248 |
category_inputs = []
|