Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def generate_content(api_key, prompt, image_data):
|
|
| 23 |
with gr.Blocks() as app:
|
| 24 |
gr.Markdown("# EVA - загрузи изображение, нажми пуск и получишь красивый рекламный пост ")
|
| 25 |
gr.Markdown("https://ai.google.dev/")
|
| 26 |
-
api_key_input = gr.Textbox(label="API Key", type="password", value="
|
| 27 |
|
| 28 |
# image_input = gr.File(label="Upload an image", type="binary")
|
| 29 |
image_input = gr.Image(label="Загрузить изображение ")
|
|
|
|
| 23 |
with gr.Blocks() as app:
|
| 24 |
gr.Markdown("# EVA - загрузи изображение, нажми пуск и получишь красивый рекламный пост ")
|
| 25 |
gr.Markdown("https://ai.google.dev/")
|
| 26 |
+
api_key_input = gr.Textbox(label="API Key", type="password", value="AIzaSyDWSQroErYsZwj4YJqrLBDcGutGCHnERms", placeholder="Enter your API Key", lines=1)
|
| 27 |
|
| 28 |
# image_input = gr.File(label="Upload an image", type="binary")
|
| 29 |
image_input = gr.Image(label="Загрузить изображение ")
|