Skip to content

Commit

Permalink
chore: update curl examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lh0x00 committed Jan 14, 2025
1 parent dc51c1a commit 772800b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docsifer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ def create_main_interface():
curl -X POST \\
"https://lamhieu-docsifer.hf.space/v1/convert" \\
-F "file=@/path/to/local/document.pdf" \\
-F "openai={{\\"api_key\\":\\"sk-xxxxx\\",\\"model\\":\\"gpt-4o-mini\\",\\"base_url\\":\\"https://api.openai.com/v1\\"}}" \\
-F "settings={{\\"cleanup\\":true}}"
-F "openai={\\"api_key\\":\\"sk-xxxxx\\",\\"model\\":\\"gpt-4o-mini\\",\\"base_url\\":\\"https://api.openai.com/v1\\"}" \\
-F "settings={\\"cleanup\\":true}"
```
"""
)
Expand Down

0 comments on commit 772800b

Please sign in to comment.