Spaces:
Runtime error
Runtime error
Kabatubare
commited on
Commit
•
afd7129
1
Parent(s):
87605c7
Update app.py
Browse files
app.py
CHANGED
@@ -15,11 +15,12 @@ styles = art.FONT_NAMES
|
|
15 |
# Create a Gradio interface with an additional dropdown for style selection
|
16 |
iface = gr.Interface(
|
17 |
fn=advanced_ascii_art,
|
18 |
-
inputs=["
|
19 |
-
outputs=
|
20 |
title="Advanced ASCII Art Generator",
|
21 |
description="Enter your message and select a style to generate advanced ASCII art."
|
22 |
)
|
23 |
|
24 |
# Deploy the app to Hugging Face Spaces with share=True
|
25 |
iface.launch(share=True)
|
|
|
|
15 |
# Create a Gradio interface with an additional dropdown for style selection
|
16 |
iface = gr.Interface(
|
17 |
fn=advanced_ascii_art,
|
18 |
+
inputs=[gr.Textbox(label="Message"), gr.Dropdown(choices=styles, label="Style")],
|
19 |
+
outputs=gr.Textbox(),
|
20 |
title="Advanced ASCII Art Generator",
|
21 |
description="Enter your message and select a style to generate advanced ASCII art."
|
22 |
)
|
23 |
|
24 |
# Deploy the app to Hugging Face Spaces with share=True
|
25 |
iface.launch(share=True)
|
26 |
+
|