Spaces:
Sleeping
Sleeping
added context in the app labels
Browse files
app.py
CHANGED
@@ -44,12 +44,12 @@ def generate(hf_api_key, prompt):
|
|
44 |
return outputs
|
45 |
|
46 |
with gr.Blocks() as demo:
|
47 |
-
gr.Markdown("# Image
|
48 |
with gr.Row():
|
49 |
-
hf_api_key = gr.Textbox(label="API Key")
|
50 |
with gr.Row():
|
51 |
with gr.Column(scale=4):
|
52 |
-
prompt = gr.Textbox(label="Your prompt") #Give prompt some real estate
|
53 |
with gr.Column(scale=1, min_width=50):
|
54 |
btn = gr.Button("Submit") #Submit button side by side!
|
55 |
with gr.Row():
|
|
|
44 |
return outputs
|
45 |
|
46 |
with gr.Blocks() as demo:
|
47 |
+
gr.Markdown("# AI Image Comparator")
|
48 |
with gr.Row():
|
49 |
+
hf_api_key = gr.Textbox(label="Hugging Face API Key")
|
50 |
with gr.Row():
|
51 |
with gr.Column(scale=4):
|
52 |
+
prompt = gr.Textbox(label="Your prompt to generate image") #Give prompt some real estate
|
53 |
with gr.Column(scale=1, min_width=50):
|
54 |
btn = gr.Button("Submit") #Submit button side by side!
|
55 |
with gr.Row():
|