Update app.py
Browse files
app.py
CHANGED
|
@@ -159,10 +159,9 @@ with gr.Blocks(title="Philosophical Analyzer") as demo:
|
|
| 159 |
submit_btn = gr.Button("Analyze")
|
| 160 |
|
| 161 |
with gr.Row():
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
school = gr.Textbox()
|
| 166 |
|
| 167 |
gr.Markdown("### 📈 Similarity Score:")
|
| 168 |
score = gr.Textbox()
|
|
@@ -180,4 +179,5 @@ with gr.Column():
|
|
| 180 |
submit_btn.click(fn=analyze_text, inputs=input_text,
|
| 181 |
outputs=[school, score, profile, timeline, best_quote, conceptual_map, psych_box])
|
| 182 |
|
|
|
|
| 183 |
demo.launch()
|
|
|
|
| 159 |
submit_btn = gr.Button("Analyze")
|
| 160 |
|
| 161 |
with gr.Row():
|
| 162 |
+
with gr.Column():
|
| 163 |
+
gr.Markdown("### 🧠 Philosophical School Detected:")
|
| 164 |
+
school = gr.Textbox()
|
|
|
|
| 165 |
|
| 166 |
gr.Markdown("### 📈 Similarity Score:")
|
| 167 |
score = gr.Textbox()
|
|
|
|
| 179 |
submit_btn.click(fn=analyze_text, inputs=input_text,
|
| 180 |
outputs=[school, score, profile, timeline, best_quote, conceptual_map, psych_box])
|
| 181 |
|
| 182 |
+
|
| 183 |
demo.launch()
|