Update app.py
Browse files
app.py
CHANGED
@@ -73,38 +73,34 @@ def fuego_github_run_wrapper(
|
|
73 |
"""
|
74 |
return gr.update(value=output_message, visible=True)
|
75 |
|
76 |
-
|
77 |
description = """
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
**Note: You'll need a Hugging Face token with write access, which you can get from [here](https://hf.co/settings/tokens)**
|
83 |
"""
|
84 |
|
85 |
additional_info = """
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
## FAQ
|
100 |
-
|
101 |
-
- If your space ends up having a "no application file" issue, you may need to "factory reset" the space. You can do this from the settings page of the space.
|
102 |
"""
|
103 |
|
|
|
104 |
output_message = gr.Markdown("", visible=False)
|
105 |
|
106 |
with gr.Blocks(css="style.css") as demo:
|
107 |
-
gr.Markdown("# π₯Fuegoπ₯ GitHub
|
108 |
gr.Markdown(description)
|
109 |
with gr.Accordion("π More Details (Hardware Pricing, How it Works, and FAQ)", open=False):
|
110 |
gr.Markdown(additional_info)
|
|
|
73 |
"""
|
74 |
return gr.update(value=output_message, visible=True)
|
75 |
|
|
|
76 |
description = """
|
77 |
+
### π **App Overview** π
|
78 |
+
- π Launch GitHub scripts on Spaces.
|
79 |
+
- π§° Choose hardware, set the scene, and ignite!
|
80 |
+
- π Uses π₯ [fuego](https://github.com/huggingface/fuego) π₯. Star it! β
|
|
|
81 |
"""
|
82 |
|
83 |
additional_info = """
|
84 |
+
### π² **Pricing Details** π²
|
85 |
+
- π Free with `cpu-basic`.
|
86 |
+
- π» Other hardware? Check [here](https://hf.co/pricing#spaces).
|
87 |
+
|
88 |
+
### π οΈ **How It Works** π§©
|
89 |
+
| Step | π¬ Action | π Description |
|
90 |
+
| ---- | ------ | ----------- |
|
91 |
+
| 1οΈβ£ | π± Create Repos | Sets up "runner" and "output" repos. |
|
92 |
+
| 2οΈβ£ | π Upload Code | Uploads and prepares your script. |
|
93 |
+
| 3οΈβ£ | π₯ Execute | Runs your script, tracks logs. |
|
94 |
+
|
95 |
+
### β **Quick FAQs** β
|
96 |
+
- π€· "No application file"? Try a reset in space settings.
|
|
|
|
|
|
|
97 |
"""
|
98 |
|
99 |
+
|
100 |
output_message = gr.Markdown("", visible=False)
|
101 |
|
102 |
with gr.Blocks(css="style.css") as demo:
|
103 |
+
gr.Markdown("# π₯Fuegoπ₯ π»π AutoMagiGit ππ» - Unleashing the Power of GitHub Automation!")
|
104 |
gr.Markdown(description)
|
105 |
with gr.Accordion("π More Details (Hardware Pricing, How it Works, and FAQ)", open=False):
|
106 |
gr.Markdown(additional_info)
|