Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,10 +145,10 @@ with gr.Blocks(title="Science Text Analyzer") as demo:
|
|
| 145 |
gr.Markdown("# Science Text Analyzer")
|
| 146 |
|
| 147 |
with gr.Tab("Classify Text"):
|
| 148 |
-
gr.Markdown("## Classify scientific text into
|
| 149 |
with gr.Row():
|
| 150 |
with gr.Column():
|
| 151 |
-
text_input = gr.Textbox(label="Enter
|
| 152 |
classify_button = gr.Button("Classify")
|
| 153 |
with gr.Column():
|
| 154 |
output = gr.Textbox(label="Classification Result")
|
|
|
|
| 145 |
gr.Markdown("# Science Text Analyzer")
|
| 146 |
|
| 147 |
with gr.Tab("Classify Text"):
|
| 148 |
+
gr.Markdown("## Classify scientific text into Science, Maths, or History")
|
| 149 |
with gr.Row():
|
| 150 |
with gr.Column():
|
| 151 |
+
text_input = gr.Textbox(label="Enter text", lines=5)
|
| 152 |
classify_button = gr.Button("Classify")
|
| 153 |
with gr.Column():
|
| 154 |
output = gr.Textbox(label="Classification Result")
|