Spaces:
Runtime error
Runtime error
Commit
·
66ac19a
1
Parent(s):
d610380
Update app.py
Browse files
app.py
CHANGED
@@ -208,7 +208,7 @@ def train_model(model_inputs):
|
|
208 |
# if cli_args.train_endpoint_url is None:
|
209 |
# Use banana backend
|
210 |
api_key = "03cdd72e-5c04-4207-bd6a-fd5712c1740e"
|
211 |
-
model_key = "
|
212 |
#st.markdown(str(model_inputs))
|
213 |
#print(model_inputs)
|
214 |
_ = banana.run(api_key, model_key, model_inputs)
|
@@ -374,17 +374,14 @@ def run_prompts():
|
|
374 |
#prompt = st.text_input("Token Name")
|
375 |
st.caption(
|
376 |
"""
|
377 |
-
|
378 |
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
Additionally, adding the name of an artist as a cue will make the picture look like something that artist made, though it may condition the image’s contents, especially if that artist had narrow themes (Beatrix Potter gets you spurious rabbits, for instance).
|
386 |
-
|
387 |
-
You can also find many great prompts if you use the Lexica.art prompt search engine to find images you like and make tweaks to their prompts.
|
388 |
"""
|
389 |
)
|
390 |
st.text("")
|
|
|
208 |
# if cli_args.train_endpoint_url is None:
|
209 |
# Use banana backend
|
210 |
api_key = "03cdd72e-5c04-4207-bd6a-fd5712c1740e"
|
211 |
+
model_key = "12f50d2a-fc6a-4334-b77f-e97fcabdee65"
|
212 |
#st.markdown(str(model_inputs))
|
213 |
#print(model_inputs)
|
214 |
_ = banana.run(api_key, model_key, model_inputs)
|
|
|
374 |
#prompt = st.text_input("Token Name")
|
375 |
st.caption(
|
376 |
"""
|
377 |
+
The `[Prompt]` and `[Prompt Keywords]` are descriptions of what you would like the model to generate.
|
378 |
|
379 |
+
We recommend using a simple sentence covering 1 or 2 concepts for the Prompt. Nouns or adjectives are preferred, as verbs can be more challenging for the model. Examples of good `[prompts]`:
|
380 |
+
- A charlock plant in the snow
|
381 |
+
- A beaver wearing a suit
|
382 |
+
- A cat samurai with a pet pug
|
383 |
+
|
384 |
+
You may also add 1 to 3 comma-separated `[Prompt Keywords]` to describe the desired "mood" of the generated images. Examples of good `[Prompt Keywords]` include: concept art, steampunk, trending in ArtStation, good composition, hyper realistic, vivid colors, oil on canvas, Vincent van Gogh.
|
|
|
|
|
|
|
385 |
"""
|
386 |
)
|
387 |
st.text("")
|