Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,8 @@ pt = r".*\[(.*)\]\((.*)\)"
|
|
39 |
|
40 |
# サンプル用情報
|
41 |
examples = ["1980s anime girl with straight bob-cut in school uniform, roughly drawn drawing"
|
42 |
-
, "a minimalisit logo for a sporting goods company"
|
|
|
43 |
|
44 |
|
45 |
# 各関数定義
|
@@ -703,6 +704,7 @@ def request_Vision(client, prompt, image_path, detail, max_tokens):
|
|
703 |
}
|
704 |
return json.dumps(vision_result)
|
705 |
|
|
|
706 |
if __name__ == '__main__':
|
707 |
|
708 |
demo.queue()
|
|
|
39 |
|
40 |
# サンプル用情報
|
41 |
examples = ["1980s anime girl with straight bob-cut in school uniform, roughly drawn drawing"
|
42 |
+
, "a minimalisit logo for a sporting goods company"
|
43 |
+
, "この画像について説明して下さい。"]
|
44 |
|
45 |
|
46 |
# 各関数定義
|
|
|
704 |
}
|
705 |
return json.dumps(vision_result)
|
706 |
|
707 |
+
|
708 |
if __name__ == '__main__':
|
709 |
|
710 |
demo.queue()
|