From d401dce4942870a5ada22f6919221ca9b6811da8 Mon Sep 17 00:00:00 2001 From: Aitor Emper <74368135+aitronssesin@users.noreply.github.com> Date: Tue, 6 Feb 2024 16:38:26 +0100 Subject: [PATCH] Add files via upload --- Example-Plugin/plugin.py | 7 +++++++ Example-Plugin/requirements.txt | 0 2 files changed, 7 insertions(+) create mode 100644 Example-Plugin/plugin.py create mode 100644 Example-Plugin/requirements.txt diff --git a/Example-Plugin/plugin.py b/Example-Plugin/plugin.py new file mode 100644 index 0000000..e8138c3 --- /dev/null +++ b/Example-Plugin/plugin.py @@ -0,0 +1,7 @@ +import gradio as gr + +def applio_plugin(): + gr.Markdown( + value= + "This code snippet introduces an Applio plugin. The heart of the plugin lies in the `def applio_plugin()` function, acting as the interface for the Gradio tab. This function will be brought into the plugins tab later on. It's crucial to maintain the original names of both the function and the `plugin.py` file, as they are integral to the import process. Additionally, there's a requirements file that cannot be relocated or renamed but can be removed if not needed." + ) \ No newline at end of file diff --git a/Example-Plugin/requirements.txt b/Example-Plugin/requirements.txt new file mode 100644 index 0000000..e69de29