Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ plastic, cartoonish, artificial, fake, unnatural
|
|
| 31 |
app = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
|
| 32 |
|
| 33 |
app.layout = dbc.Container([
|
| 34 |
-
html.H1("
|
| 35 |
dbc.Row([
|
| 36 |
# Left column: Form entry
|
| 37 |
dbc.Col([
|
|
@@ -75,11 +75,11 @@ def enhance_prompt(google_api_key, prompt, style):
|
|
| 75 |
Original prompt: '{prompt}'
|
| 76 |
|
| 77 |
Instructions:
|
| 78 |
-
1. Expand the prompt to be more detailed, vivid, and photorealistic.
|
| 79 |
2. Incorporate elements of the specified style, focusing on realism and natural appearances.
|
| 80 |
3. Add details that enhance the realism of the scene, especially for elements like trees, textures, and lighting.
|
| 81 |
4. Emphasize natural lighting and enhance the realism of textures and colors.
|
| 82 |
-
5. Avoid terms that might result in artificial or cartoonish appearances.
|
| 83 |
6. Maintain the original intent of the prompt while significantly improving its descriptive quality.
|
| 84 |
7. Provide ONLY the enhanced prompt, without any explanations or options.
|
| 85 |
8. Keep the enhanced prompt concise, ideally under 100 words.
|
|
|
|
| 31 |
app = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
|
| 32 |
|
| 33 |
app.layout = dbc.Container([
|
| 34 |
+
html.H1("Insta-Image Maker", className="my-4"),
|
| 35 |
dbc.Row([
|
| 36 |
# Left column: Form entry
|
| 37 |
dbc.Col([
|
|
|
|
| 75 |
Original prompt: '{prompt}'
|
| 76 |
|
| 77 |
Instructions:
|
| 78 |
+
1. Expand the prompt to be more detailed, vivid, and photorealistic including the camera it was shot with and camera settings.
|
| 79 |
2. Incorporate elements of the specified style, focusing on realism and natural appearances.
|
| 80 |
3. Add details that enhance the realism of the scene, especially for elements like trees, textures, and lighting.
|
| 81 |
4. Emphasize natural lighting and enhance the realism of textures and colors.
|
| 82 |
+
5. Avoid terms that might result in artificial or cartoonish appearances unless specified by the user.
|
| 83 |
6. Maintain the original intent of the prompt while significantly improving its descriptive quality.
|
| 84 |
7. Provide ONLY the enhanced prompt, without any explanations or options.
|
| 85 |
8. Keep the enhanced prompt concise, ideally under 100 words.
|