AnjaliRai78 commited on
Commit
9cddcb1
·
verified ·
1 Parent(s): c2f499b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -41,7 +41,7 @@ def process_ui_image(image, user_task, progress=gr.Progress()):
41
 
42
  # Get the request ID from the response
43
  request_id = response.json().get("request_id")
44
- print("request_id",request_id)
45
 
46
  if not request_id:
47
  return "Error: Failed to get request ID from the server."
@@ -113,8 +113,6 @@ with gr.Blocks(css="""
113
  else:
114
  newprofile.name = profile.name
115
  newprofile.username = profile.username
116
- print("profile name", profile.name)
117
- print("profile username", profile.username)
118
  return {main_ui: gr.Column(visible=True)}
119
 
120
  demo.load(get_profile, inputs=None, outputs=[main_ui])
 
41
 
42
  # Get the request ID from the response
43
  request_id = response.json().get("request_id")
44
+
45
 
46
  if not request_id:
47
  return "Error: Failed to get request ID from the server."
 
113
  else:
114
  newprofile.name = profile.name
115
  newprofile.username = profile.username
 
 
116
  return {main_ui: gr.Column(visible=True)}
117
 
118
  demo.load(get_profile, inputs=None, outputs=[main_ui])