From e4130e5c57bde7b673391fc664bb1a6c0f99c09e Mon Sep 17 00:00:00 2001 From: ezio ruan Date: Sun, 9 Apr 2023 12:58:41 +0800 Subject: [PATCH] Update visual_chatgpt.py Fix Chinese encoding error: File "visual_chatgpt.py", line 75 SyntaxError: Non-UTF-8 code starting with '\xe4' in file visual_chatgpt.py on line 76, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details --- visual_chatgpt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/visual_chatgpt.py b/visual_chatgpt.py index cf794853..baee9cec 100644 --- a/visual_chatgpt.py +++ b/visual_chatgpt.py @@ -1,3 +1,4 @@ +# coding: utf-8 import os import gradio as gr import random