Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,3 @@
|
|
| 1 |
-
#!/usr/bin/env python3
|
| 2 |
-
# -*- coding: utf-8 -*-
|
| 3 |
-
"""
|
| 4 |
-
Created on Fri Mar 7 15:00:57 2025
|
| 5 |
-
|
| 6 |
-
@author: lt611-10
|
| 7 |
-
"""
|
| 8 |
-
|
| 9 |
import gradio as gr
|
| 10 |
import os
|
| 11 |
import torch
|
|
@@ -50,7 +42,7 @@ demo=gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=[gr.Label(num
|
|
| 50 |
gr.Number(label="Prediction time(s)")], examples=example_list,
|
| 51 |
title=title, description=description, article=article)
|
| 52 |
|
| 53 |
-
demo.launch(
|
| 54 |
|
| 55 |
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
import torch
|
|
|
|
| 42 |
gr.Number(label="Prediction time(s)")], examples=example_list,
|
| 43 |
title=title, description=description, article=article)
|
| 44 |
|
| 45 |
+
demo.launch()
|
| 46 |
|
| 47 |
|
| 48 |
|