Spaces:
No application file
No application file
Commit
·
3d91941
1
Parent(s):
c047743
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def upscaler_gradio(imagen):
|
|
| 14 |
|
| 15 |
img = Image.fromarray(imagen) # convertir de NumPy a PIL
|
| 16 |
prompt = "A high quality, detailed, and visually clear image"
|
| 17 |
-
result = pipe(prompt=prompt, image=img
|
| 18 |
return result
|
| 19 |
|
| 20 |
# Interfaz Gradio
|
|
|
|
| 14 |
|
| 15 |
img = Image.fromarray(imagen) # convertir de NumPy a PIL
|
| 16 |
prompt = "A high quality, detailed, and visually clear image"
|
| 17 |
+
result = pipe(prompt=prompt, image=img).images[0]
|
| 18 |
return result
|
| 19 |
|
| 20 |
# Interfaz Gradio
|