Spaces:
Running
Running
yu-rp
commited on
Commit
·
300bdba
1
Parent(s):
ba8ef2d
update api token box
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def init_llava_examples():
|
|
77 |
[
|
78 |
"https://raw.githubusercontent.com/yu-rp/asserts/main/API_Prompting/llava_example_1_ori.jpg",
|
79 |
"https://raw.githubusercontent.com/yu-rp/asserts/main/API_Prompting/llava_example_1_masked.webp",
|
80 |
-
"Which direction is the red bird facing?",
|
81 |
" The red bird is facing away from the camera.</s>",
|
82 |
"red bird",
|
83 |
50,
|
@@ -297,7 +297,7 @@ text_api_token = gr.Textbox(
|
|
297 |
label = "OpenAI API Token",
|
298 |
placeholder="Input your OpenAI API token",
|
299 |
lines=1,
|
300 |
-
type="
|
301 |
text_original_image_response = gr.Textbox(
|
302 |
label="GPT Response (Original Image)",
|
303 |
placeholder="",
|
|
|
77 |
[
|
78 |
"https://raw.githubusercontent.com/yu-rp/asserts/main/API_Prompting/llava_example_1_ori.jpg",
|
79 |
"https://raw.githubusercontent.com/yu-rp/asserts/main/API_Prompting/llava_example_1_masked.webp",
|
80 |
+
"Which direction is the red bird facing in the image?",
|
81 |
" The red bird is facing away from the camera.</s>",
|
82 |
"red bird",
|
83 |
50,
|
|
|
297 |
label = "OpenAI API Token",
|
298 |
placeholder="Input your OpenAI API token",
|
299 |
lines=1,
|
300 |
+
type="password")
|
301 |
text_original_image_response = gr.Textbox(
|
302 |
label="GPT Response (Original Image)",
|
303 |
placeholder="",
|