Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,11 +16,10 @@ def summarize(text):
|
|
16 |
|
17 |
interface = gr.Interface(
|
18 |
fn=summarize,
|
19 |
-
inputs=gr.
|
20 |
outputs="text",
|
21 |
title="Arabic-English Text Summarizer",
|
22 |
description="Enter Arabic or English text, and the model will generate a summary."
|
23 |
)
|
24 |
|
25 |
-
# Launch the app
|
26 |
interface.launch()
|
|
|
16 |
|
17 |
interface = gr.Interface(
|
18 |
fn=summarize,
|
19 |
+
inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize..."),
|
20 |
outputs="text",
|
21 |
title="Arabic-English Text Summarizer",
|
22 |
description="Enter Arabic or English text, and the model will generate a summary."
|
23 |
)
|
24 |
|
|
|
25 |
interface.launch()
|