Spaces:
Sleeping
Sleeping
Richard commited on
Commit ·
ba515b5
1
Parent(s): 8bdac77
Update help text a bit.
Browse files- constants.py +2 -3
- main.py +6 -0
constants.py
CHANGED
|
@@ -21,10 +21,9 @@ HELP_TEXT = """
|
|
| 21 |
|
| 22 |
**Setting up a Mesop Runner instance**
|
| 23 |
|
| 24 |
-
*If running on Hugging Face, you will need to duplicate the
|
| 25 |
|
| 26 |
-
- Start up an instance of the
|
| 27 |
-
- See [Github repository](https://github.com/richard-to/mesop-app-runner) for more details.
|
| 28 |
- Provide the Runner URL to your instance.
|
| 29 |
- Provide the Runner Token to your runner instance.
|
| 30 |
""".strip()
|
|
|
|
| 21 |
|
| 22 |
**Setting up a Mesop Runner instance**
|
| 23 |
|
| 24 |
+
*If running on Hugging Face, you will need to duplicate the Mesop App Runner space.*
|
| 25 |
|
| 26 |
+
- Start up an instance of the Mesop App Runner.
|
|
|
|
| 27 |
- Provide the Runner URL to your instance.
|
| 28 |
- Provide the Runner Token to your runner instance.
|
| 29 |
""".strip()
|
main.py
CHANGED
|
@@ -97,6 +97,12 @@ def main():
|
|
| 97 |
with mex.dialog(state.show_help_dialog):
|
| 98 |
me.text("Usage Instructions", type="headline-6")
|
| 99 |
me.markdown(HELP_TEXT)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
with mex.dialog_actions():
|
| 101 |
me.button(
|
| 102 |
"Close",
|
|
|
|
| 97 |
with mex.dialog(state.show_help_dialog):
|
| 98 |
me.text("Usage Instructions", type="headline-6")
|
| 99 |
me.markdown(HELP_TEXT)
|
| 100 |
+
me.link(
|
| 101 |
+
text="See Github repository for full instructions.",
|
| 102 |
+
url="https://github.com/richard-to/mesop-app-runner",
|
| 103 |
+
open_in_new_tab=True,
|
| 104 |
+
style=me.Style(color=me.theme_var("primary")),
|
| 105 |
+
)
|
| 106 |
with mex.dialog_actions():
|
| 107 |
me.button(
|
| 108 |
"Close",
|