Compose a program to take in a string as an input and output only the unique characters in it.
python
def unique_chars(string):
    unique_characters = set()
    for char in string:
        unique_characters.add(char)
    return unique_characters

print(unique_chars("python"))