nnsohamnn commited on
Commit
e723247
·
verified ·
1 Parent(s): 9a3b49f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
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
- "This tool automatically classifies a given passage into one of the following academic categories: "
151
- "**Science**, **Mathematics**, or **History**. Simply enter your text below to see the predicted subject."
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
- "The Science Text Analyzer uses deep learning models trained on academic corpora to classify and generate content "
180
- "relevant to disciplines such as Science, Mathematics, and History. It combines a classifier with a sequence-based language model "
181
- "to support educational research and content creation."
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()