Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,8 +147,8 @@ with gr.Blocks(title="Science Text Analyzer") as demo:
|
|
| 147 |
with gr.Tab("Classify Text"):
|
| 148 |
gr.Markdown("### Classify Academic Text")
|
| 149 |
gr.Markdown(
|
| 150 |
-
"
|
| 151 |
-
"**Science**, **Mathematics**, or **History
|
| 152 |
)
|
| 153 |
with gr.Row():
|
| 154 |
with gr.Column():
|
|
@@ -176,11 +176,12 @@ with gr.Blocks(title="Science Text Analyzer") as demo:
|
|
| 176 |
|
| 177 |
gr.Markdown("### About This App")
|
| 178 |
gr.Markdown(
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
|
|
|
| 183 |
|
| 184 |
-
# Launch the app
|
| 185 |
-
demo.launch()
|
| 186 |
|
|
|
|
|
|
|
|
|
| 147 |
with gr.Tab("Classify Text"):
|
| 148 |
gr.Markdown("### Classify Academic Text")
|
| 149 |
gr.Markdown(
|
| 150 |
+
"The **Science Text Analyzer** uses an **LSTM-based text classification model** trained on curated academic datasets sourced from **Hugging Face**. "
|
| 151 |
+
"It predicts whether input text belongs to **Science**, **Mathematics**, or **History**, leveraging **sequential context** and **language structure** for accurate subject classification."
|
| 152 |
)
|
| 153 |
with gr.Row():
|
| 154 |
with gr.Column():
|
|
|
|
| 176 |
|
| 177 |
gr.Markdown("### About This App")
|
| 178 |
gr.Markdown(
|
| 179 |
+
"The **Science Text Analyzer** uses deep learning models trained on curated academic datasets to classify and generate content "
|
| 180 |
+
"related to academic disciplines. The **classifier** categorizes input text into one of three subjects: **Science**, **Mathematics**, or **History**. "
|
| 181 |
+
"The **text generator** produces coherent scientific passages, especially focused on **Physics**, **Chemistry**, and **Biology**, making it a valuable tool "
|
| 182 |
+
"for **educational research**, **content creation**, and **curriculum support**."
|
| 183 |
+
)
|
| 184 |
|
|
|
|
|
|
|
| 185 |
|
| 186 |
+
# Launch the app
|
| 187 |
+
demo.launch()
|