Spaces:
Runtime error
Runtime error
Fix README merge conflict
Browse files
README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 📄
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
app_port: 7860
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
# MinerU PDF Converter
|
|
@@ -89,7 +90,7 @@ A Python client script (`api_client.py`) is included in this repository for easy
|
|
| 89 |
|
| 90 |
```python
|
| 91 |
# Example usage
|
| 92 |
-
python api_client.py path/to/your/document.pdf --api-url https://marcosremar2-
|
| 93 |
```
|
| 94 |
|
| 95 |
The client includes features such as:
|
|
@@ -101,13 +102,13 @@ The client includes features such as:
|
|
| 101 |
You can also use curl:
|
| 102 |
|
| 103 |
```bash
|
| 104 |
-
curl -X POST -F "file=@path/to/your/document.pdf" https://marcosremar2-
|
| 105 |
```
|
| 106 |
|
| 107 |
And check health with:
|
| 108 |
|
| 109 |
```bash
|
| 110 |
-
curl https://marcosremar2-
|
| 111 |
```
|
| 112 |
|
| 113 |
## Web Interface
|
|
@@ -135,4 +136,4 @@ The service includes robust error handling:
|
|
| 135 |
|
| 136 |
## Learn More
|
| 137 |
|
| 138 |
-
For more information about MinerU, visit [the MinerU repository](https://github.com/opendatalab/MinerU).
|
|
|
|
| 1 |
---
|
| 2 |
+
title: MinerUapi
|
| 3 |
emoji: 📄
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
# MinerU PDF Converter
|
|
|
|
| 90 |
|
| 91 |
```python
|
| 92 |
# Example usage
|
| 93 |
+
python api_client.py path/to/your/document.pdf --api-url https://marcosremar2-mineruapi.hf.space
|
| 94 |
```
|
| 95 |
|
| 96 |
The client includes features such as:
|
|
|
|
| 102 |
You can also use curl:
|
| 103 |
|
| 104 |
```bash
|
| 105 |
+
curl -X POST -F "file=@path/to/your/document.pdf" https://marcosremar2-mineruapi.hf.space/api/convert
|
| 106 |
```
|
| 107 |
|
| 108 |
And check health with:
|
| 109 |
|
| 110 |
```bash
|
| 111 |
+
curl https://marcosremar2-mineruapi.hf.space/health
|
| 112 |
```
|
| 113 |
|
| 114 |
## Web Interface
|
|
|
|
| 136 |
|
| 137 |
## Learn More
|
| 138 |
|
| 139 |
+
For more information about MinerU, visit [the MinerU repository](https://github.com/opendatalab/MinerU).
|