Answer:
Sight doesn't affect how your taste buds work, but it DOES change how the brain perceives flavor. The brain registers whatever food you see (for example a cake) and your taste buds are instantly caused to taste "sweet" flavors. If you stared at a cake for a while, then suddenly ate celery, your taste buds would be expecting "sweet", but not get any. This is why someone may drink something and be repulsed, because they expected another flavor.