Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,7 +65,8 @@ def extract_entities(text):
|
|
| 65 |
iface = gr.Interface(
|
| 66 |
fn=extract_entities,
|
| 67 |
inputs=gr.Textbox(label="Enter your text"),
|
| 68 |
-
outputs=gr.Markdown(label="Extracted Entities"),
|
|
|
|
| 69 |
title="Entity Extraction Tool",
|
| 70 |
description="Extract entities from text using Gemini 1.5 Pro."
|
| 71 |
)
|
|
|
|
| 65 |
iface = gr.Interface(
|
| 66 |
fn=extract_entities,
|
| 67 |
inputs=gr.Textbox(label="Enter your text"),
|
| 68 |
+
#outputs=gr.Markdown(label="Extracted Entities"),
|
| 69 |
+
outputs=[gr.Textbox(label="Original Text"), gr.Markdown(label="Formatted Entities")],
|
| 70 |
title="Entity Extraction Tool",
|
| 71 |
description="Extract entities from text using Gemini 1.5 Pro."
|
| 72 |
)
|