Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,8 @@ def main_ui():
|
|
37 |
if KEYLOCK_DECODE_AVAILABLE:
|
38 |
gr.Markdown("---")
|
39 |
gr.Markdown("### Method 2: Load API Token to this sytem environment from KeyLock Wallet Image")
|
|
|
|
|
40 |
with gr.Row():
|
41 |
keylock_image_input = gr.Image(label="KeyLock Wallet Image (PNG)", type="pil", image_mode="RGBA")
|
42 |
keylock_password_input = gr.Textbox(label="Image Password", type="password")
|
@@ -54,6 +56,7 @@ def main_ui():
|
|
54 |
space_name_create_input = gr.Textbox(label="Space Name", placeholder="my-awesome-app (no slashes)", scale=2)
|
55 |
owner_create_input = gr.Textbox(label="Owner Username/Org", placeholder="Leave blank for your HF username", scale=1)
|
56 |
sdk_create_input = gr.Dropdown(label="Space SDK", choices=["gradio", "streamlit", "docker", "static"], value="gradio")
|
|
|
57 |
markdown_input_create = gr.Textbox(label="Markdown File Structure & Content", placeholder="Example:\n### File: app.py\n# ```python\nprint(\"Hello\")\n# ```", lines=15, interactive=True)
|
58 |
create_btn = gr.Button("Create Space", variant="primary")
|
59 |
create_output_md = gr.Markdown(label="Result")
|
|
|
37 |
if KEYLOCK_DECODE_AVAILABLE:
|
38 |
gr.Markdown("---")
|
39 |
gr.Markdown("### Method 2: Load API Token to this sytem environment from KeyLock Wallet Image")
|
40 |
+
gr.Markdown("### Get a KeyLock Wallet Image Here: [/spaces/broadfield-dev/KeyLock-API-Wallet](https://huggingface.co/spaces/broadfield-dev/KeyLock-API-Wallet)")
|
41 |
+
https://huggingface.co/spaces/broadfield-dev/KeyLock-API-Wallet
|
42 |
with gr.Row():
|
43 |
keylock_image_input = gr.Image(label="KeyLock Wallet Image (PNG)", type="pil", image_mode="RGBA")
|
44 |
keylock_password_input = gr.Textbox(label="Image Password", type="password")
|
|
|
56 |
space_name_create_input = gr.Textbox(label="Space Name", placeholder="my-awesome-app (no slashes)", scale=2)
|
57 |
owner_create_input = gr.Textbox(label="Owner Username/Org", placeholder="Leave blank for your HF username", scale=1)
|
58 |
sdk_create_input = gr.Dropdown(label="Space SDK", choices=["gradio", "streamlit", "docker", "static"], value="gradio")
|
59 |
+
gr.Markdown("### Example Source: [/spaces/broadfield-dev/repo_to_md](https://huggingface.co/spaces/broadfield-dev/repo_to_md)")
|
60 |
markdown_input_create = gr.Textbox(label="Markdown File Structure & Content", placeholder="Example:\n### File: app.py\n# ```python\nprint(\"Hello\")\n# ```", lines=15, interactive=True)
|
61 |
create_btn = gr.Button("Create Space", variant="primary")
|
62 |
create_output_md = gr.Markdown(label="Result")
|