Spaces:
Running
Running
Commit
·
71ea075
1
Parent(s):
7165ab2
Update citation to Zenodo DOI and change font to Helvetica
Browse files- Updated About section citation with DOI: 10.5281/zenodo.15532316
- Added custom CSS to use Helvetica font throughout the app
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
app.py
CHANGED
|
@@ -774,7 +774,13 @@ result.to_csv("classified_results.csv", index=False)
|
|
| 774 |
return gr.update(value=code, visible=True)
|
| 775 |
|
| 776 |
|
| 777 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 778 |
gr.Image("logo.png", show_label=False, show_download_button=False, height=100, container=False)
|
| 779 |
gr.Markdown("# CatLLM - Survey Response Classifier")
|
| 780 |
gr.Markdown("Classify survey responses into custom categories using LLMs.")
|
|
@@ -805,8 +811,7 @@ This app is currently in **beta** and **free to use** while CatLLM is under revi
|
|
| 805 |
### Citation
|
| 806 |
If you use CatLLM in your research, please cite:
|
| 807 |
```
|
| 808 |
-
Soria, C. (2025). CatLLM: A Python package for LLM-based text classification.
|
| 809 |
-
https://github.com/chrissoria/cat-llm
|
| 810 |
```
|
| 811 |
""")
|
| 812 |
|
|
|
|
| 774 |
return gr.update(value=code, visible=True)
|
| 775 |
|
| 776 |
|
| 777 |
+
custom_css = """
|
| 778 |
+
* {
|
| 779 |
+
font-family: Helvetica, Arial, sans-serif !important;
|
| 780 |
+
}
|
| 781 |
+
"""
|
| 782 |
+
|
| 783 |
+
with gr.Blocks(title="CatLLM - Survey Response Classifier", theme=gr.themes.Soft(), css=custom_css) as demo:
|
| 784 |
gr.Image("logo.png", show_label=False, show_download_button=False, height=100, container=False)
|
| 785 |
gr.Markdown("# CatLLM - Survey Response Classifier")
|
| 786 |
gr.Markdown("Classify survey responses into custom categories using LLMs.")
|
|
|
|
| 811 |
### Citation
|
| 812 |
If you use CatLLM in your research, please cite:
|
| 813 |
```
|
| 814 |
+
Soria, C. (2025). CatLLM: A Python package for LLM-based text classification. DOI: 10.5281/zenodo.15532316
|
|
|
|
| 815 |
```
|
| 816 |
""")
|
| 817 |
|