Text this: Neural network modeling of heavy-quark potential from holography