We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I changed my nginx conf (follow #7659 and #7391 ) and gradio version update to 4.37.1, still not working, need help!!
import gradio as gr import cv2 import argparse parser = argparse.ArgumentParser(description='Process some integers.') parser.add_argument('--port', metavar='port', type=int, nargs=1, help='port', required=True) args = parser.parse_args() print(args) def to_black(image): output = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) return output interface = gr.Interface(fn=to_black, inputs="image", outputs="image", examples=[["test.png"]]) interface.launch(server_name='0.0.0.0', share=False, server_port=args.port[0])
No response
Gradio version: gradio 4.37.1 gradio_client 1.0.2 nginx conf: location / { set $ups1 "127.0.0.1:8080"; rewrite_by_lua ' local obj = require("getups") obj.getups() '; proxy_next_upstream off; proxy_pass http://$ups1; proxy_buffering off; proxy_http_version 1.1; proxy_set_header host $ups1; proxy_set_header origin http://$ups1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; }
I can work around it
The text was updated successfully, but these errors were encountered:
Hi @lilyzlt can you try this: #8129 (comment)
Sorry, something went wrong.
works!! thanks so much !
No branches or pull requests
Describe the bug
I changed my nginx conf (follow #7659 and #7391 ) and gradio version update to 4.37.1, still not working, need help!!
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: