Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,14 @@ import gradio as gr
|
|
| 28 |
|
| 29 |
with gr.Blocks(title="Image Classification for 1000 Objects", css=".gradio-container {background:#FFD1DC;}") as demo:
|
| 30 |
gr.HTML("""<div style="font-family:'Calibri', 'Serif'; font-size:16pt; font-weight:bold; text-align:center; color:black;">Image Classification for 1000 Objects</div>""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
with gr.Row():
|
| 33 |
input_image = gr.Image(type="filepath", image_mode="L")
|
|
|
|
| 28 |
|
| 29 |
with gr.Blocks(title="Image Classification for 1000 Objects", css=".gradio-container {background:#FFD1DC;}") as demo:
|
| 30 |
gr.HTML("""<div style="font-family:'Calibri', 'Serif'; font-size:16pt; font-weight:bold; text-align:center; color:black;">Image Classification for 1000 Objects</div>""")
|
| 31 |
+
gr.Markdown(
|
| 32 |
+
"""
|
| 33 |
+
# Welcome to Image Classification Demo
|
| 34 |
+
Start typing below to see the output.
|
| 35 |
+
""")
|
| 36 |
+
inp = gr.Textbox(placeholder="Describe Model Details")
|
| 37 |
+
out = gr.Textbox()
|
| 38 |
+
inp.change(welcome, inp, out)
|
| 39 |
|
| 40 |
with gr.Row():
|
| 41 |
input_image = gr.Image(type="filepath", image_mode="L")
|