Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,9 @@ def generate_and_upload(prompt: str, model_name: str, api_key: str):
|
|
| 63 |
|
| 64 |
# Gradio UI
|
| 65 |
with gr.Blocks() as app:
|
| 66 |
-
gr.Markdown("<
|
|
|
|
|
|
|
| 67 |
with gr.Row():
|
| 68 |
prompt_input = gr.Textbox(label="Enter a prompt:", placeholder="A futuristic spaceship...")
|
| 69 |
model_input = gr.Textbox(label="Enter model name:", placeholder="stabilityai/stable-diffusion-3.5-large")
|
|
@@ -78,5 +80,7 @@ with gr.Blocks() as app:
|
|
| 78 |
inputs=[prompt_input, model_input, api_key_input],
|
| 79 |
outputs=[image_output, url_output]
|
| 80 |
)
|
| 81 |
-
|
|
|
|
|
|
|
| 82 |
app.launch(server_port=7860, share=True)
|
|
|
|
| 63 |
|
| 64 |
# Gradio UI
|
| 65 |
with gr.Blocks() as app:
|
| 66 |
+
gr.Markdown("<hr style='color: red;'>")
|
| 67 |
+
gr.Markdown("<h1 style='text-align: center; color: red;'> β₯ Tasia API on Marty Space β₯</h1>")
|
| 68 |
+
gr.Markdown("<hr style='color: red;'>")
|
| 69 |
with gr.Row():
|
| 70 |
prompt_input = gr.Textbox(label="Enter a prompt:", placeholder="A futuristic spaceship...")
|
| 71 |
model_input = gr.Textbox(label="Enter model name:", placeholder="stabilityai/stable-diffusion-3.5-large")
|
|
|
|
| 80 |
inputs=[prompt_input, model_input, api_key_input],
|
| 81 |
outputs=[image_output, url_output]
|
| 82 |
)
|
| 83 |
+
gr.Markdown("<hr style='color: red;'>")
|
| 84 |
+
gr.Markdown("<h1 style='text-align: center; color: red;'> β₯ Made by Tasia with Heart β₯</h1>")
|
| 85 |
+
gr.Markdown("<hr style='color: red;'>")
|
| 86 |
app.launch(server_port=7860, share=True)
|