Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,4 +11,4 @@ title = "OpenAI Summarizer"
|
|
11 |
description = "Abstractive Text Summarization using Hugging Face transformers."
|
12 |
article = "<div style='text-align: center; max-width:800px; margin:10px auto;'><p></p><p>Sources: <a href='https://github.com/huggingface/transformers/' target='_blank'>Transformers</a>: Machine Learning with pretrained models</p><p style='text-align: center'> With help of <a href='https://fxstrengthmeter.com/' target='_blank'>Currency Strength meter</a>: live indicator with real-time market data that compares a currency with other major currencies</p></div>"
|
13 |
|
14 |
-
gr.Interface(fn=summarize, inputs=gr.inputs.Textbox(lines=
|
|
|
11 |
description = "Abstractive Text Summarization using Hugging Face transformers."
|
12 |
article = "<div style='text-align: center; max-width:800px; margin:10px auto;'><p></p><p>Sources: <a href='https://github.com/huggingface/transformers/' target='_blank'>Transformers</a>: Machine Learning with pretrained models</p><p style='text-align: center'> With help of <a href='https://fxstrengthmeter.com/' target='_blank'>Currency Strength meter</a>: live indicator with real-time market data that compares a currency with other major currencies</p></div>"
|
13 |
|
14 |
+
gr.Interface(fn=summarize, inputs=gr.inputs.Textbox(lines=12, placeholder="Enter text to summarize here"), outputs="text", title=title, description=description, article=article).launch()
|