anhdt-dsai-02 commited on
Commit
6d1900a
·
verified ·
1 Parent(s): 7e560e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ gmt_plus7 = pytz.timezone('Etc/GMT-7') # 'Etc/GMT-7' represents GMT+7
30
 
31
  def authenticate(user_id):
32
 
33
- url = "https://intern-api.imtaedu.com/api/subnets/2/authenticate"
34
  headers = {
35
  "Content-Type": "application/json",
36
  "Accept": "application/json",
@@ -114,7 +114,7 @@ def process_image_and_caption(username_input, image, caption):
114
  def send_score(user_id, score):
115
  max_retries = 10
116
  while max_retries > 0:
117
- url = "https://intern-api.imtaedu.com/api/subnets/2/grade"
118
 
119
  payload = {
120
  "token": user_id,
 
30
 
31
  def authenticate(user_id):
32
 
33
+ url = "https://intern-api.imtaai.com/api/subnets/2/authenticate"
34
  headers = {
35
  "Content-Type": "application/json",
36
  "Accept": "application/json",
 
114
  def send_score(user_id, score):
115
  max_retries = 10
116
  while max_retries > 0:
117
+ url = "https://intern-api.imtaai.com/api/subnets/2/grade"
118
 
119
  payload = {
120
  "token": user_id,