Spaces:
Build error
Build error
Update main.py
Browse files205 unmodified lines206207208209209210211212205 unmodified lines 1, # int | float (numeric value between 1 and 100) in 'Refiner Number of Iterations %' Slider component api_name="/predict" ) image_url = result image_url = result[0] with open(image_url, 'rb') as img_file: img_binary = img_file.read() img_base64 = base64.b64encode(img_binary).decode('utf-8')main.py+1-1