lamhieu commited on
Commit
772800b
Β·
1 Parent(s): dc51c1a

chore: update curl examples

Browse files
Files changed (1) hide show
  1. docsifer/__init__.py +2 -2
docsifer/__init__.py CHANGED
@@ -306,8 +306,8 @@ def create_main_interface():
306
  curl -X POST \\
307
  "https://lamhieu-docsifer.hf.space/v1/convert" \\
308
  -F "file=@/path/to/local/document.pdf" \\
309
- -F "openai={{\\"api_key\\":\\"sk-xxxxx\\",\\"model\\":\\"gpt-4o-mini\\",\\"base_url\\":\\"https://api.openai.com/v1\\"}}" \\
310
- -F "settings={{\\"cleanup\\":true}}"
311
  ```
312
  """
313
  )
 
306
  curl -X POST \\
307
  "https://lamhieu-docsifer.hf.space/v1/convert" \\
308
  -F "file=@/path/to/local/document.pdf" \\
309
+ -F "openai={\\"api_key\\":\\"sk-xxxxx\\",\\"model\\":\\"gpt-4o-mini\\",\\"base_url\\":\\"https://api.openai.com/v1\\"}" \\
310
+ -F "settings={\\"cleanup\\":true}"
311
  ```
312
  """
313
  )