Spaces:
Running
Running
dhanishetty
commited on
Commit
•
6f001b5
1
Parent(s):
ee74194
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,6 @@ def get_image(prompt,textbox):
|
|
24 |
|
25 |
title = "Please Provide API-Key and Enter your Prompt"
|
26 |
description = """
|
27 |
-
Provide OpenAI API Key, select your model
|
28 |
<img src = "https://upload.wikimedia.org/wikipedia/commons/4/4d/OpenAI_Logo.svg" width=300px>
|
29 |
"""
|
30 |
|
@@ -35,6 +34,8 @@ gr.Interface(
|
|
35 |
gr.Textbox(label="Enter your API-Key", placeholder="API-Key", lines=1)
|
36 |
],
|
37 |
outputs= gr.Image(type='pil')
|
|
|
|
|
38 |
).launch()
|
39 |
|
40 |
|
|
|
24 |
|
25 |
title = "Please Provide API-Key and Enter your Prompt"
|
26 |
description = """
|
|
|
27 |
<img src = "https://upload.wikimedia.org/wikipedia/commons/4/4d/OpenAI_Logo.svg" width=300px>
|
28 |
"""
|
29 |
|
|
|
34 |
gr.Textbox(label="Enter your API-Key", placeholder="API-Key", lines=1)
|
35 |
],
|
36 |
outputs= gr.Image(type='pil')
|
37 |
+
title=title,
|
38 |
+
description=description,
|
39 |
).launch()
|
40 |
|
41 |
|