Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
# Cargar el modelo
|
| 4 |
+
modelo = gr.load("models/Devarshi/Brain_Tumor_Classification")
|
| 5 |
+
|
| 6 |
+
# Crear la interfaz gráfica sin mostrar el título
|
| 7 |
+
interfaz = gr.Interface(modelo, live=True, show_live=True, show_interpreter=True)
|
| 8 |
+
interfaz.launch()
|