Ümit Gündüz commited on
Commit
dec18e5
1 Parent(s): be34481
Files changed (2) hide show
  1. poetry.lock +72 -34
  2. src/app.py +2 -2
poetry.lock CHANGED
@@ -162,24 +162,25 @@ doc = ["docutils", "geopandas", "jinja2", "myst-parser", "numpydoc", "pillow", "
162
 
163
  [[package]]
164
  name = "anyio"
165
- version = "3.6.2"
166
  description = "High level compatibility layer for multiple asynchronous event loop implementations"
167
  category = "main"
168
  optional = false
169
- python-versions = ">=3.6.2"
170
  files = [
171
- {file = "anyio-3.6.2-py3-none-any.whl", hash = "sha256:fbbe32bd270d2a2ef3ed1c5d45041250284e31fc0a4df4a5a6071842051a51e3"},
172
- {file = "anyio-3.6.2.tar.gz", hash = "sha256:25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421"},
173
  ]
174
 
175
  [package.dependencies]
 
176
  idna = ">=2.8"
177
  sniffio = ">=1.1"
178
 
179
  [package.extras]
180
- doc = ["packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"]
181
- test = ["contextlib2", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (<0.15)", "uvloop (>=0.15)"]
182
- trio = ["trio (>=0.16,<0.22)"]
183
 
184
  [[package]]
185
  name = "async-timeout"
@@ -573,6 +574,21 @@ tensorflow-gpu = ["tensorflow-gpu (>=2.2.0,!=2.6.0,!=2.6.1)"]
573
  tests = ["Werkzeug (>=1.0.1)", "absl-py", "bert-score (>=0.3.6)", "cer (>=1.2.0)", "charcut (>=1.1.1)", "jiwer", "mauve-text", "nltk", "pytest", "pytest-datadir", "pytest-xdist", "requests-file (>=1.5.1)", "rouge-score (>=0.1.2)", "sacrebleu", "sacremoses", "scikit-learn", "scipy", "sentencepiece", "seqeval", "six (>=1.15.0,<1.16.0)", "tensorflow (>=2.3,!=2.6.0,!=2.6.1,<=2.10)", "texttable (>=1.6.3)", "tldextract (>=3.1.0)", "toml (>=0.10.1)", "torch", "transformers", "trectools", "unidecode (>=1.3.4)"]
574
  torch = ["torch"]
575
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
576
  [[package]]
577
  name = "fastapi"
578
  version = "0.95.2"
@@ -1780,37 +1796,37 @@ files = [
1780
 
1781
  [[package]]
1782
  name = "pandas"
1783
- version = "2.0.1"
1784
  description = "Powerful data structures for data analysis, time series, and statistics"
1785
  category = "main"
1786
  optional = false
1787
  python-versions = ">=3.8"
1788
  files = [
1789
- {file = "pandas-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:70a996a1d2432dadedbb638fe7d921c88b0cc4dd90374eab51bb33dc6c0c2a12"},
1790
- {file = "pandas-2.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:909a72b52175590debbf1d0c9e3e6bce2f1833c80c76d80bd1aa09188be768e5"},
1791
- {file = "pandas-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe7914d8ddb2d54b900cec264c090b88d141a1eed605c9539a187dbc2547f022"},
1792
- {file = "pandas-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a514ae436b23a92366fbad8365807fc0eed15ca219690b3445dcfa33597a5cc"},
1793
- {file = "pandas-2.0.1-cp310-cp310-win32.whl", hash = "sha256:12bd6618e3cc737c5200ecabbbb5eaba8ab645a4b0db508ceeb4004bb10b060e"},
1794
- {file = "pandas-2.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:2b6fe5f7ce1cba0e74188c8473c9091ead9b293ef0a6794939f8cc7947057abd"},
1795
- {file = "pandas-2.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:00959a04a1d7bbc63d75a768540fb20ecc9e65fd80744c930e23768345a362a7"},
1796
- {file = "pandas-2.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:af2449e9e984dfad39276b885271ba31c5e0204ffd9f21f287a245980b0e4091"},
1797
- {file = "pandas-2.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:910df06feaf9935d05247db6de452f6d59820e432c18a2919a92ffcd98f8f79b"},
1798
- {file = "pandas-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fa0067f2419f933101bdc6001bcea1d50812afbd367b30943417d67fbb99678"},
1799
- {file = "pandas-2.0.1-cp311-cp311-win32.whl", hash = "sha256:7b8395d335b08bc8b050590da264f94a439b4770ff16bb51798527f1dd840388"},
1800
- {file = "pandas-2.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:8db5a644d184a38e6ed40feeb12d410d7fcc36648443defe4707022da127fc35"},
1801
- {file = "pandas-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7bbf173d364130334e0159a9a034f573e8b44a05320995127cf676b85fd8ce86"},
1802
- {file = "pandas-2.0.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:6c0853d487b6c868bf107a4b270a823746175b1932093b537b9b76c639fc6f7e"},
1803
- {file = "pandas-2.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f25e23a03f7ad7211ffa30cb181c3e5f6d96a8e4cb22898af462a7333f8a74eb"},
1804
- {file = "pandas-2.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e09a53a4fe8d6ae2149959a2d02e1ef2f4d2ceb285ac48f74b79798507e468b4"},
1805
- {file = "pandas-2.0.1-cp38-cp38-win32.whl", hash = "sha256:a2564629b3a47b6aa303e024e3d84e850d36746f7e804347f64229f8c87416ea"},
1806
- {file = "pandas-2.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:03e677c6bc9cfb7f93a8b617d44f6091613a5671ef2944818469be7b42114a00"},
1807
- {file = "pandas-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3d099ecaa5b9e977b55cd43cf842ec13b14afa1cfa51b7e1179d90b38c53ce6a"},
1808
- {file = "pandas-2.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a37ee35a3eb6ce523b2c064af6286c45ea1c7ff882d46e10d0945dbda7572753"},
1809
- {file = "pandas-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:320b180d125c3842c5da5889183b9a43da4ebba375ab2ef938f57bf267a3c684"},
1810
- {file = "pandas-2.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18d22cb9043b6c6804529810f492ab09d638ddf625c5dea8529239607295cb59"},
1811
- {file = "pandas-2.0.1-cp39-cp39-win32.whl", hash = "sha256:90d1d365d77d287063c5e339f49b27bd99ef06d10a8843cf00b1a49326d492c1"},
1812
- {file = "pandas-2.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:99f7192d8b0e6daf8e0d0fd93baa40056684e4b4aaaef9ea78dff34168e1f2f0"},
1813
- {file = "pandas-2.0.1.tar.gz", hash = "sha256:19b8e5270da32b41ebf12f0e7165efa7024492e9513fb46fb631c5022ae5709d"},
1814
  ]
1815
 
1816
  [package.dependencies]
@@ -2420,6 +2436,28 @@ dev = ["flake8", "mypy", "pycodestyle", "typing_extensions"]
2420
  doc = ["matplotlib (>2)", "numpydoc", "pydata-sphinx-theme (==0.9.0)", "sphinx (!=4.1.0)", "sphinx-panels (>=0.5.2)", "sphinx-tabs"]
2421
  test = ["asv", "gmpy2", "mpmath", "pytest", "pytest-cov", "pytest-xdist", "scikit-umfpack", "threadpoolctl"]
2422
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2423
  [[package]]
2424
  name = "semantic-version"
2425
  version = "2.10.0"
@@ -3152,4 +3190,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
3152
  [metadata]
3153
  lock-version = "2.0"
3154
  python-versions = "^3.9"
3155
- content-hash = "bbcc8691c60f1af515c94a083d2e159fb63c0c5e6af04af7021532b35ebc70d3"
 
162
 
163
  [[package]]
164
  name = "anyio"
165
+ version = "3.7.0"
166
  description = "High level compatibility layer for multiple asynchronous event loop implementations"
167
  category = "main"
168
  optional = false
169
+ python-versions = ">=3.7"
170
  files = [
171
+ {file = "anyio-3.7.0-py3-none-any.whl", hash = "sha256:eddca883c4175f14df8aedce21054bfca3adb70ffe76a9f607aef9d7fa2ea7f0"},
172
+ {file = "anyio-3.7.0.tar.gz", hash = "sha256:275d9973793619a5374e1c89a4f4ad3f4b0a5510a2b5b939444bee8f4c4d37ce"},
173
  ]
174
 
175
  [package.dependencies]
176
+ exceptiongroup = {version = "*", markers = "python_version < \"3.11\""}
177
  idna = ">=2.8"
178
  sniffio = ">=1.1"
179
 
180
  [package.extras]
181
+ doc = ["Sphinx (>=6.1.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme", "sphinxcontrib-jquery"]
182
+ test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"]
183
+ trio = ["trio (<0.22)"]
184
 
185
  [[package]]
186
  name = "async-timeout"
 
574
  tests = ["Werkzeug (>=1.0.1)", "absl-py", "bert-score (>=0.3.6)", "cer (>=1.2.0)", "charcut (>=1.1.1)", "jiwer", "mauve-text", "nltk", "pytest", "pytest-datadir", "pytest-xdist", "requests-file (>=1.5.1)", "rouge-score (>=0.1.2)", "sacrebleu", "sacremoses", "scikit-learn", "scipy", "sentencepiece", "seqeval", "six (>=1.15.0,<1.16.0)", "tensorflow (>=2.3,!=2.6.0,!=2.6.1,<=2.10)", "texttable (>=1.6.3)", "tldextract (>=3.1.0)", "toml (>=0.10.1)", "torch", "transformers", "trectools", "unidecode (>=1.3.4)"]
575
  torch = ["torch"]
576
 
577
+ [[package]]
578
+ name = "exceptiongroup"
579
+ version = "1.1.1"
580
+ description = "Backport of PEP 654 (exception groups)"
581
+ category = "main"
582
+ optional = false
583
+ python-versions = ">=3.7"
584
+ files = [
585
+ {file = "exceptiongroup-1.1.1-py3-none-any.whl", hash = "sha256:232c37c63e4f682982c8b6459f33a8981039e5fb8756b2074364e5055c498c9e"},
586
+ {file = "exceptiongroup-1.1.1.tar.gz", hash = "sha256:d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785"},
587
+ ]
588
+
589
+ [package.extras]
590
+ test = ["pytest (>=6)"]
591
+
592
  [[package]]
593
  name = "fastapi"
594
  version = "0.95.2"
 
1796
 
1797
  [[package]]
1798
  name = "pandas"
1799
+ version = "2.0.2"
1800
  description = "Powerful data structures for data analysis, time series, and statistics"
1801
  category = "main"
1802
  optional = false
1803
  python-versions = ">=3.8"
1804
  files = [
1805
+ {file = "pandas-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9ebb9f1c22ddb828e7fd017ea265a59d80461d5a79154b49a4207bd17514d122"},
1806
+ {file = "pandas-2.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1eb09a242184092f424b2edd06eb2b99d06dc07eeddff9929e8667d4ed44e181"},
1807
+ {file = "pandas-2.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7319b6e68de14e6209460f72a8d1ef13c09fb3d3ef6c37c1e65b35d50b5c145"},
1808
+ {file = "pandas-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd46bde7309088481b1cf9c58e3f0e204b9ff9e3244f441accd220dd3365ce7c"},
1809
+ {file = "pandas-2.0.2-cp310-cp310-win32.whl", hash = "sha256:51a93d422fbb1bd04b67639ba4b5368dffc26923f3ea32a275d2cc450f1d1c86"},
1810
+ {file = "pandas-2.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:66d00300f188fa5de73f92d5725ced162488f6dc6ad4cecfe4144ca29debe3b8"},
1811
+ {file = "pandas-2.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:02755de164da6827764ceb3bbc5f64b35cb12394b1024fdf88704d0fa06e0e2f"},
1812
+ {file = "pandas-2.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0a1e0576611641acde15c2322228d138258f236d14b749ad9af498ab69089e2d"},
1813
+ {file = "pandas-2.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a6b5f14cd24a2ed06e14255ff40fe2ea0cfaef79a8dd68069b7ace74bd6acbba"},
1814
+ {file = "pandas-2.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50e451932b3011b61d2961b4185382c92cc8c6ee4658dcd4f320687bb2d000ee"},
1815
+ {file = "pandas-2.0.2-cp311-cp311-win32.whl", hash = "sha256:7b21cb72958fc49ad757685db1919021d99650d7aaba676576c9e88d3889d456"},
1816
+ {file = "pandas-2.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:c4af689352c4fe3d75b2834933ee9d0ccdbf5d7a8a7264f0ce9524e877820c08"},
1817
+ {file = "pandas-2.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:69167693cb8f9b3fc060956a5d0a0a8dbfed5f980d9fd2c306fb5b9c855c814c"},
1818
+ {file = "pandas-2.0.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:30a89d0fec4263ccbf96f68592fd668939481854d2ff9da709d32a047689393b"},
1819
+ {file = "pandas-2.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a18e5c72b989ff0f7197707ceddc99828320d0ca22ab50dd1b9e37db45b010c0"},
1820
+ {file = "pandas-2.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7376e13d28eb16752c398ca1d36ccfe52bf7e887067af9a0474de6331dd948d2"},
1821
+ {file = "pandas-2.0.2-cp38-cp38-win32.whl", hash = "sha256:6d6d10c2142d11d40d6e6c0a190b1f89f525bcf85564707e31b0a39e3b398e08"},
1822
+ {file = "pandas-2.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:e69140bc2d29a8556f55445c15f5794490852af3de0f609a24003ef174528b79"},
1823
+ {file = "pandas-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b42b120458636a981077cfcfa8568c031b3e8709701315e2bfa866324a83efa8"},
1824
+ {file = "pandas-2.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f908a77cbeef9bbd646bd4b81214cbef9ac3dda4181d5092a4aa9797d1bc7774"},
1825
+ {file = "pandas-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:713f2f70abcdade1ddd68fc91577cb090b3544b07ceba78a12f799355a13ee44"},
1826
+ {file = "pandas-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cf3f0c361a4270185baa89ec7ab92ecaa355fe783791457077473f974f654df5"},
1827
+ {file = "pandas-2.0.2-cp39-cp39-win32.whl", hash = "sha256:598e9020d85a8cdbaa1815eb325a91cfff2bb2b23c1442549b8a3668e36f0f77"},
1828
+ {file = "pandas-2.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:77550c8909ebc23e56a89f91b40ad01b50c42cfbfab49b3393694a50549295ea"},
1829
+ {file = "pandas-2.0.2.tar.gz", hash = "sha256:dd5476b6c3fe410ee95926873f377b856dbc4e81a9c605a0dc05aaccc6a7c6c6"},
1830
  ]
1831
 
1832
  [package.dependencies]
 
2436
  doc = ["matplotlib (>2)", "numpydoc", "pydata-sphinx-theme (==0.9.0)", "sphinx (!=4.1.0)", "sphinx-panels (>=0.5.2)", "sphinx-tabs"]
2437
  test = ["asv", "gmpy2", "mpmath", "pytest", "pytest-cov", "pytest-xdist", "scikit-umfpack", "threadpoolctl"]
2438
 
2439
+ [[package]]
2440
+ name = "seaborn"
2441
+ version = "0.12.2"
2442
+ description = "Statistical data visualization"
2443
+ category = "main"
2444
+ optional = false
2445
+ python-versions = ">=3.7"
2446
+ files = [
2447
+ {file = "seaborn-0.12.2-py3-none-any.whl", hash = "sha256:ebf15355a4dba46037dfd65b7350f014ceb1f13c05e814eda2c9f5fd731afc08"},
2448
+ {file = "seaborn-0.12.2.tar.gz", hash = "sha256:374645f36509d0dcab895cba5b47daf0586f77bfe3b36c97c607db7da5be0139"},
2449
+ ]
2450
+
2451
+ [package.dependencies]
2452
+ matplotlib = ">=3.1,<3.6.1 || >3.6.1"
2453
+ numpy = ">=1.17,<1.24.0 || >1.24.0"
2454
+ pandas = ">=0.25"
2455
+
2456
+ [package.extras]
2457
+ dev = ["flake8", "flit", "mypy", "pandas-stubs", "pre-commit", "pytest", "pytest-cov", "pytest-xdist"]
2458
+ docs = ["ipykernel", "nbconvert", "numpydoc", "pydata_sphinx_theme (==0.10.0rc2)", "pyyaml", "sphinx-copybutton", "sphinx-design", "sphinx-issues"]
2459
+ stats = ["scipy (>=1.3)", "statsmodels (>=0.10)"]
2460
+
2461
  [[package]]
2462
  name = "semantic-version"
2463
  version = "2.10.0"
 
3190
  [metadata]
3191
  lock-version = "2.0"
3192
  python-versions = "^3.9"
3193
+ content-hash = "3a1cc93d8a90f71cb72ce8fdbbb3cbb80392c5a6c983239a3091e6542977dc5c"
src/app.py CHANGED
@@ -97,9 +97,9 @@ def gradio_predict(url: str):
97
  with gr.Blocks() as demo:
98
  gr.Markdown(
99
  """
100
- # Haber sitelerinin başlık, açıklama (spot), tarih ve içerik bilgilerinin Yapay Zeka modeli kullanılarak çıkarılması.
101
  Bu çalışmada, belirli haber sitelerinden otomatik olarak başlık, açıklama (spot), tarih ve içerik bilgilerini çıkarabilen bir yapay zeka modeli geliştirilmeye odaklanılmıştır. Bu geliştirme sürecinde, modelin haber sitelerinin içeriklerini anlaması ve ilgili bilgileri doğru bir şekilde tanıması ve çıkarabilmesi için derinlemesine eğitimler gerçekleştirilmiştir. Bu kapsamlı çalışma, haber sitelerinin veri içeriklerinin otomatik çıkarılması ve analizi konusunda önemli bir adımı temsil etmektedir.
102
- """
103
  )
104
  with gr.Row():
105
  with gr.Column():
 
97
  with gr.Blocks() as demo:
98
  gr.Markdown(
99
  """
100
+ # Haber sitelerinin başlık, açıklama (spot), tarih ve içerik bilgilerinin Yapay Zeka modeli kullanılarak çıkarılması.
101
  Bu çalışmada, belirli haber sitelerinden otomatik olarak başlık, açıklama (spot), tarih ve içerik bilgilerini çıkarabilen bir yapay zeka modeli geliştirilmeye odaklanılmıştır. Bu geliştirme sürecinde, modelin haber sitelerinin içeriklerini anlaması ve ilgili bilgileri doğru bir şekilde tanıması ve çıkarabilmesi için derinlemesine eğitimler gerçekleştirilmiştir. Bu kapsamlı çalışma, haber sitelerinin veri içeriklerinin otomatik çıkarılması ve analizi konusunda önemli bir adımı temsil etmektedir.
102
+ """
103
  )
104
  with gr.Row():
105
  with gr.Column():