Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
5c993e7
1
Parent(s):
a18f96b
Update app.py
Browse files
app.py
CHANGED
@@ -193,10 +193,9 @@ def create_gradio_interface():
|
|
193 |
get_points_button = gr.Button("Show Your Points")
|
194 |
|
195 |
points_output = gr.Textbox(label="Your Balance", placeholder="Your Points", interactive=False)
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
|
200 |
|
201 |
generate_button = gr.Button("Generate")
|
202 |
result_output = gr.Image(label="Generated Image", type="pil")
|
|
|
193 |
get_points_button = gr.Button("Show Your Points")
|
194 |
|
195 |
points_output = gr.Textbox(label="Your Balance", placeholder="Your Points", interactive=False)
|
196 |
+
|
197 |
+
prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
|
198 |
+
resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
|
|
|
199 |
|
200 |
generate_button = gr.Button("Generate")
|
201 |
result_output = gr.Image(label="Generated Image", type="pil")
|