Spaces:
Runtime error
Runtime error
initial commit
Browse filesFiles changed (4)
- app.pyAdded+13
- poetry.lockAdded+7
- pyproject.tomlAdded+15
- requirements.txtAdded+1
12345678910111213import gradio as gr
def greet(name): return "Hello " + name + "!"
demo = gr.Interface( fn=greet, inputs=gr.Textbox(lines=5, placeholder="Write your text here..."), outputs=gr.Textbox(lines=5, placeholder="Summary and Sentiment would be here..."), ) if __name__ == "__main__": demo.launch(show_api=False) 1234567# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand.package = []
[metadata]lock-version = "2.0"python-versions = "^3.10"content-hash = "53f2eabc9c26446fbcc00d348c47878e118afc2054778c3c803a0a8028af27d9"123456789101112131415[tool.poetry]name = "textsummarization"version = "0.1.0"description = "Analize text, create summary and sentiment"authors = ["Alexander <as.frantsev@gmail.com>"]license = "MIT"readme = "README.md"
[tool.poetry.dependencies]python = "^3.10"
[build-system]requires = ["poetry-core"]build-backend = "poetry.core.masonry.api"1gradioapp.pyAdded+13
poetry.lockAdded+7
pyproject.tomlAdded+15
requirements.txtAdded+1