Closed npayani closed 1 year ago
Hi @mynphub it sounds like the share link creation is being blocked by your system. Can you share how you are running the code? Do you see the same problem happening on Google Colab?
Closing for lack of follow up. @mynphub please feel free to reopen with more details.
Hello Thank you for your response. I tested in Google Colab and link was generated. A couple of time though viewers told me they see the service is temporary down
On Sat, Mar 25, 2023 at 18:53 Abubakar Abid @.***> wrote:
Hi @mynphub https://github.com/mynphub it sounds like the share link creation is being blocked by your system. Can you share how you are running the code? Do you see the same problem happening on Google Colab https://colab.research.google.com/?
— Reply to this email directly, view it on GitHub https://github.com/gradio-app/gradio/issues/3624#issuecomment-1483969702, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XIXGFAX6YRHXABWCGLCQTW56ORJANCNFSM6AAAAAAWHV4R4A . You are receiving this because you were mentioned.Message ID: @.***>
Hi @mynphub yes we've had some downtime recently because of an upsurge in traffic. We're working on fixing that!
Hello I created a sharable URL with your gradio, it now opens the sharable url but when I put info in the user input, it gives back an error.
Please let me know.
Here's the code. Before running I paste my api_key and run !pip install openai and pip install gradio too:
import openai import gradio
openai.api_key = "I paste my api key here before executing"
messages = [{"role": "system", "content": "You are a financial experts that specializes in real estate investment and negotiation" }]
def CustomChatGPT(user_input): messages.append({"role": "user", "content": user_input}) response = openai.ChatCompletion.create( model = "gpt-3.5-turbo", messages = messages ) ChatGPT_reply = response["choices"][0]["message"]["content"] messages.append({"role": "assistant", "content": ChatGPT_reply}) return ChatGPT_reply
demo = gradio.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text" , title = "Real Estate Pro")
demo.launch(share=True)
On Mon, Mar 27, 2023 at 10:02 AM Abubakar Abid @.***> wrote:
Hi @mynphub https://github.com/mynphub yes we've had some downtime recently because of an upsurge in traffic. We're working on fixing that!
— Reply to this email directly, view it on GitHub https://github.com/gradio-app/gradio/issues/3624#issuecomment-1485513352, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6XIXGFXX2DJ5ECET4XTNKLW6HBY3ANCNFSM6AAAAAAWHV4R4A . You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug
Hello,
I am trying to generate an opeAI chatbot. All parts of the code work fine and even the chatbot works fine in Jupyternotebook but the share link doesn't work and I get this message each time I try:
Could not create share link. Please check your internet connection or our status page: https://status.gradio.app