Create a Python program to automatically delete any repeated words from a given text.
The cat was was running running in the park
text = "The cat was running in the park"

words = text.split(' ')
unique_words = []

for word in words:
 if word not in unique_words: 
  unique_words.append(word)

print(' '.join(unique_words))