rr19tech commited on
Commit
a2261a1
·
verified ·
1 Parent(s): 0974296

Updated content type

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ def call_private_api(user_input):
14
  # Pass the token in the Authorization header
15
  headers = {
16
  "Authorization": f"Bearer {HF_TOKEN}",
17
- "Content-Type": "text/plain"
18
- #"Content-Type": "application/json"
19
  }
20
 
21
  print(f"User input is: {user_input}")
 
14
  # Pass the token in the Authorization header
15
  headers = {
16
  "Authorization": f"Bearer {HF_TOKEN}",
17
+ #"Content-Type": "text/plain"
18
+ "Content-Type": "application/json"
19
  }
20
 
21
  print(f"User input is: {user_input}")