Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Ravi21
/
smart12
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
smart12
/
app_test.py
Ravi21
Upload app_test.py
3933270
verified
almost 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
141 Bytes
import
requests
resp = requests.post(
"https://localhost:5000/predict"
, files={
"file"
:
open
(
'dataset/test_img/input.png'
,
'rb'
)})
print
(resp)