Answer the question
In order to leave comments, you need to log in
The code works fine on the local machine, but if I upload it to Heroku it doesn't work. How to fix?
I tested it on my machine, everything worked fine, but when I uploaded it to heroku, the bot stopped responding. What is the problem, and if it's not difficult, write how to solve it ...
here is a link to my code;
https://pastebin.com/PraZNair
code in Procfile:
Answer the question
In order to leave comments, you need to log in
Potentially it could fall here:
try:
import Image
except ImportError:
from PIL import Image
"C:\Users\vayak\PycharmProjects\pythonProject5\img.jpg"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question