measmonysuon commited on
Commit
824eec3
1 Parent(s): 4803751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def create_gradio_interface(user_chat_id):
118
  """)
119
 
120
  # Create input components
121
- user_chat_id_input = gr.Textbox(label="User Chat ID", placeholder="Enter your user chat ID here...", value=user_chat_id)
122
  points_output = gr.Textbox(label="User Points", placeholder="User points will be displayed here", interactive=False)
123
 
124
  # Create the button to get user points
 
118
  """)
119
 
120
  # Create input components
121
+ user_chat_id_input = gr.Textbox(label="User Chat ID", placeholder="Enter your user chat ID here...", value=user_chat_id, interactive=False) # Make the textbox non-editable
122
  points_output = gr.Textbox(label="User Points", placeholder="User points will be displayed here", interactive=False)
123
 
124
  # Create the button to get user points