Update app.py
Browse files
app.py
CHANGED
|
@@ -1482,7 +1482,7 @@ def zip_downloader(model):
|
|
| 1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
| 1483 |
|
| 1484 |
with open("poop.md", "r", encoding="utf8") as f:
|
| 1485 |
-
|
| 1486 |
|
| 1487 |
theme = gr.themes.Soft(
|
| 1488 |
primary_hue="orange",
|
|
@@ -1915,6 +1915,8 @@ with gr.Blocks(theme=theme) as app:
|
|
| 1915 |
# Made with 💖 by Ilaria | Support her on [Ko-Fi](https://ko-fi.com/ilariaowo)
|
| 1916 |
# """
|
| 1917 |
# )
|
|
|
|
|
|
|
| 1918 |
|
| 1919 |
def has_two_files_in_pretrained_folder():
|
| 1920 |
pretrained_folder = "./pretrained/"
|
|
|
|
| 1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
| 1483 |
|
| 1484 |
with open("poop.md", "r", encoding="utf8") as f:
|
| 1485 |
+
poop = f.read()
|
| 1486 |
|
| 1487 |
theme = gr.themes.Soft(
|
| 1488 |
primary_hue="orange",
|
|
|
|
| 1915 |
# Made with 💖 by Ilaria | Support her on [Ko-Fi](https://ko-fi.com/ilariaowo)
|
| 1916 |
# """
|
| 1917 |
# )
|
| 1918 |
+
with gr.TabItem(i18n("Info")):
|
| 1919 |
+
gr.Markdown(value=poop)
|
| 1920 |
|
| 1921 |
def has_two_files_in_pretrained_folder():
|
| 1922 |
pretrained_folder = "./pretrained/"
|