Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +13 -0
- requirements.txt +3 -0
app.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
with gr.Blocks() as demo:
|
| 4 |
+
gr.Markdown("# ¡Hola! Welcome to Gradio 6")
|
| 5 |
+
gr.Textbox(value="Hola!", label="Greeting", interactive=False)
|
| 6 |
+
|
| 7 |
+
gr.Markdown("## About this App")
|
| 8 |
+
gr.Markdown("This is a simple Gradio 6 application demonstrating the new syntax and theming capabilities.")
|
| 9 |
+
|
| 10 |
+
demo.launch(
|
| 11 |
+
theme=gr.themes.Soft(primary_hue="green", font=gr.themes.GoogleFont("Roboto")),
|
| 12 |
+
footer_links=[{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"}]
|
| 13 |
+
)
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio>=6.0
|
| 2 |
+
requests
|
| 3 |
+
Pillow
|