Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
-
import requests
|
| 2 |
import tensorflow as tf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
import gradio as gr
|
| 5 |
|
|
@@ -7,12 +12,7 @@ import gradio as gr
|
|
| 7 |
def classify_image(inp):
|
| 8 |
# Dataset link: https://www.kaggle.com/pranavraikokte/covid19-image-dataset
|
| 9 |
|
| 10 |
-
import tensorflow as tf
|
| 11 |
-
from tensorflow import keras
|
| 12 |
-
from tensorflow.keras.models import Sequential
|
| 13 |
-
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
| 14 |
|
| 15 |
-
import matplotlib.pyplot as plt
|
| 16 |
#import app
|
| 17 |
|
| 18 |
|
|
|
|
|
|
|
| 1 |
import tensorflow as tf
|
| 2 |
+
from tensorflow import keras
|
| 3 |
+
from tensorflow.keras.models import Sequential
|
| 4 |
+
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
| 5 |
+
|
| 6 |
+
import matplotlib.pyplot as plt
|
| 7 |
+
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
|
|
|
|
| 12 |
def classify_image(inp):
|
| 13 |
# Dataset link: https://www.kaggle.com/pranavraikokte/covid19-image-dataset
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
|
|
|
| 16 |
#import app
|
| 17 |
|
| 18 |
|