Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
cd8b2d2c
Commit
cd8b2d2c
authored
Mar 29, 2024
by
赵小蒙
Browse files
修复import错误
parent
d35c4926
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
magic_pdf/spark/s3.py
magic_pdf/spark/s3.py
+2
-1
No files found.
magic_pdf/spark/s3.py
View file @
cd8b2d2c
...
@@ -6,7 +6,8 @@ import re
...
@@ -6,7 +6,8 @@ import re
import
random
import
random
from
typing
import
List
,
Union
from
typing
import
List
,
Union
try
:
try
:
from
app.config
import
s3_buckets
,
s3_clusters
,
get_cluster_name
,
s3_users
from
app.config
import
s3_buckets
,
s3_clusters
,
s3_users
from
app.common.runtime
import
get_cluster_name
except
ImportError
:
except
ImportError
:
from
magic_pdf.config
import
s3_buckets
,
s3_clusters
,
get_cluster_name
,
s3_users
from
magic_pdf.config
import
s3_buckets
,
s3_clusters
,
get_cluster_name
,
s3_users
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment