Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
ea489ba
1
Parent(s):
2b76461
Update app.py
Browse files
app.py
CHANGED
@@ -138,6 +138,9 @@ def create_gradio_interface(user_chat_id):
|
|
138 |
)
|
139 |
points_output = gr.Textbox(label="User Points", placeholder="User points will be displayed here")
|
140 |
|
|
|
|
|
|
|
141 |
# Create other components
|
142 |
prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
|
143 |
resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
|
|
|
138 |
)
|
139 |
points_output = gr.Textbox(label="User Points", placeholder="User points will be displayed here")
|
140 |
|
141 |
+
# Create the button to get user points
|
142 |
+
get_points_button = gr.Button("Retrieve Your Points")
|
143 |
+
|
144 |
# Create other components
|
145 |
prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
|
146 |
resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
|