From 42f4a2fd5ef75a12967a9dc2cd844fefb865f12f Mon Sep 17 00:00:00 2001 From: Chaoyun Zhang Date: Wed, 14 Feb 2024 13:56:05 +0800 Subject: [PATCH] readme --- ufo/__init__.py | 2 ++ ufo/__main__.py | 3 +++ ufo/config/config.py | 3 +++ ufo/llm/__init__.py | 2 ++ ufo/llm/llm_call.py | 3 +++ ufo/llm/prompt.py | 3 +++ ufo/module/__init__.py | 2 ++ ufo/module/flow.py | 3 +++ ufo/ufo.py | 3 +++ ufo/ui_control/__init__.py | 3 +++ ufo/ui_control/control.py | 3 +++ ufo/ui_control/screenshot.py | 3 +++ ufo/utils/__init__.py | 3 +++ 13 files changed, 36 insertions(+) diff --git a/ufo/__init__.py b/ufo/__init__.py index e69de29b..7f3fd831 100644 --- a/ufo/__init__.py +++ b/ufo/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. \ No newline at end of file diff --git a/ufo/__main__.py b/ufo/__main__.py index 87bf173e..9b47c51f 100644 --- a/ufo/__main__.py +++ b/ufo/__main__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from . import ufo if __name__ == "__main__": diff --git a/ufo/config/config.py b/ufo/config/config.py index 887a267f..dc3dc031 100644 --- a/ufo/config/config.py +++ b/ufo/config/config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import os import yaml diff --git a/ufo/llm/__init__.py b/ufo/llm/__init__.py index e69de29b..7f3fd831 100644 --- a/ufo/llm/__init__.py +++ b/ufo/llm/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. \ No newline at end of file diff --git a/ufo/llm/llm_call.py b/ufo/llm/llm_call.py index 4bcedc8b..f0008b72 100644 --- a/ufo/llm/llm_call.py +++ b/ufo/llm/llm_call.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import requests import time from ..config.config import load_config diff --git a/ufo/llm/prompt.py b/ufo/llm/prompt.py index 152c808d..26adf3e2 100644 --- a/ufo/llm/prompt.py +++ b/ufo/llm/prompt.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import List import json diff --git a/ufo/module/__init__.py b/ufo/module/__init__.py index e69de29b..7f3fd831 100644 --- a/ufo/module/__init__.py +++ b/ufo/module/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. \ No newline at end of file diff --git a/ufo/module/flow.py b/ufo/module/flow.py index 1e1ae682..cbcaf87e 100644 --- a/ufo/module/flow.py +++ b/ufo/module/flow.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import logging import os import time diff --git a/ufo/ufo.py b/ufo/ufo.py index 1af1b8a0..2d68dcac 100644 --- a/ufo/ufo.py +++ b/ufo/ufo.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import argparse from datetime import datetime diff --git a/ufo/ui_control/__init__.py b/ufo/ui_control/__init__.py index 9bc902f1..af34320d 100644 --- a/ufo/ui_control/__init__.py +++ b/ufo/ui_control/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import List from .screenshot import * diff --git a/ufo/ui_control/control.py b/ufo/ui_control/control.py index 29f94553..fca05023 100644 --- a/ufo/ui_control/control.py +++ b/ufo/ui_control/control.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import ast import time import warnings diff --git a/ufo/ui_control/screenshot.py b/ufo/ui_control/screenshot.py index 324a65b6..5784dfcc 100644 --- a/ufo/ui_control/screenshot.py +++ b/ufo/ui_control/screenshot.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from typing import List from PIL import Image, ImageDraw, ImageFont, ImageGrab diff --git a/ufo/utils/__init__.py b/ufo/utils/__init__.py index 0d9d0794..aefb77a1 100644 --- a/ufo/utils/__init__.py +++ b/ufo/utils/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import base64 import json import os