Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def generate_image(prompt: str, seed: int = 42, aspect_ratio: str = "16:9", rand
|
|
| 62 |
print(f"Warning: Translation failed: {e}. Using input prompt directly.")
|
| 63 |
prompt_final = prompt.strip()
|
| 64 |
|
| 65 |
-
prompt_final += ", ultra realistic, sharp, 8k resolution
|
| 66 |
|
| 67 |
try:
|
| 68 |
generator = torch.Generator(device=device).manual_seed(int(float(seed)))
|
|
@@ -107,7 +107,7 @@ button[aria-label="Download"] {
|
|
| 107 |
}
|
| 108 |
""") as app:
|
| 109 |
gr.Markdown("# Gjenerues Imazhesh")
|
| 110 |
-
gr.Markdown("
|
| 111 |
|
| 112 |
with gr.Row():
|
| 113 |
with gr.Column(scale=2):
|
|
|
|
| 62 |
print(f"Warning: Translation failed: {e}. Using input prompt directly.")
|
| 63 |
prompt_final = prompt.strip()
|
| 64 |
|
| 65 |
+
prompt_final += ", ultra realistic, sharp, 8k resolution"
|
| 66 |
|
| 67 |
try:
|
| 68 |
generator = torch.Generator(device=device).manual_seed(int(float(seed)))
|
|
|
|
| 107 |
}
|
| 108 |
""") as app:
|
| 109 |
gr.Markdown("# Gjenerues Imazhesh")
|
| 110 |
+
gr.Markdown("Gjenero imazhe fantastike sipas pershkrimit me inteligjence artificiale")
|
| 111 |
|
| 112 |
with gr.Row():
|
| 113 |
with gr.Column(scale=2):
|