Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,12 +18,12 @@ from revelado.revelado import calculate_ela, calculate_difference_image, apply_a
|
|
| 18 |
|
| 19 |
#Interfaz y aplicaci贸n web
|
| 20 |
import gradio as gr # Biblioteca Gradio para crear la interfaz
|
| 21 |
-
from gradio
|
| 22 |
from flask import Flask, redirect # Flask y redirect de Flask para la aplicaci贸n web
|
| 23 |
import threading #Threading para ejecutar tareas en hilos separados
|
| 24 |
from gradio import Interface
|
| 25 |
import matplotlib.pyplot as plt
|
| 26 |
-
from gradio
|
| 27 |
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
| 28 |
from tensorflow.keras.preprocessing.image import load_img, img_to_array
|
| 29 |
from tensorflow.keras.applications.mobilenet import preprocess_input
|
|
|
|
| 18 |
|
| 19 |
#Interfaz y aplicaci贸n web
|
| 20 |
import gradio as gr # Biblioteca Gradio para crear la interfaz
|
| 21 |
+
from gradio import Image # Clase Image de Gradio para mostrar im谩genes en la interfaz
|
| 22 |
from flask import Flask, redirect # Flask y redirect de Flask para la aplicaci贸n web
|
| 23 |
import threading #Threading para ejecutar tareas en hilos separados
|
| 24 |
from gradio import Interface
|
| 25 |
import matplotlib.pyplot as plt
|
| 26 |
+
from gradio import Image as GrImage, Label, Dropdown, Image as GrImageOut
|
| 27 |
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
| 28 |
from tensorflow.keras.preprocessing.image import load_img, img_to_array
|
| 29 |
from tensorflow.keras.applications.mobilenet import preprocess_input
|