hamdanhh07 commited on
Commit
3500fe8
1 Parent(s): 3a26c6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -19
app.py CHANGED
@@ -15,33 +15,23 @@ example_list = [['examples/cov1.png'],
15
  ['examples/nor2.jpg'],
16
  ['examples/penu1.jpg'],
17
  ['examples/penu2.jpg']]
18
- title = "COVID-19 Detection in Ultrasound Imagery Using Artificial intelligent Methods"
19
- description = "[Trained on 500 data using Hugging Face dataset."
20
- app = gr.Blocks()
21
- with app:
22
-
23
- gr.Markdown("# **<p align='center'>Video Classification with Timesformer</p>**")
24
- gr.Markdown(
25
- """
26
  <p style='text-align: center'>
27
- Timesformer is a video model that uses a Transformer architecture to process video frames.
28
  <br>It is released by Facebook AI Research in ICML 2021.
29
- <br>This version is trained on Kinetics-400 dataset and can classify videos into 400 classes.
30
- </p>
31
- """
32
- )
33
- gr.Markdown(
34
- """
35
  <p style='text-align: center'>
36
  Follow me for more!
37
  <br> <a href='https://twitter.com/fcakyon' target='_blank'>twitter</a> | <a href='https://github.com/fcakyon' target='_blank'>github</a> | <a href='https://www.linkedin.com/in/fcakyon/' target='_blank'>linkedin</a> | <a href='https://fcakyon.medium.com/' target='_blank'>medium</a>
38
  </p>
 
 
39
  """
40
- )
41
-
42
-
43
 
44
 
45
 
46
- gr.Interface.load("models/hamdan07/UltraSound-Lung",examples=example_list,title=app).launch(debug=False,share=False)
47
 
 
15
  ['examples/nor2.jpg'],
16
  ['examples/penu1.jpg'],
17
  ['examples/penu2.jpg']]
18
+ title ="# **<p align='center'>COVID-19 Detection in Ultrasound with Timesformer</p>**"
19
+ description ="""
 
 
 
 
 
 
20
  <p style='text-align: center'>
21
+ Trained on 500 data using Hugging Face dataset..
22
  <br>It is released by Facebook AI Research in ICML 2021.
23
+ <br>
 
 
 
 
 
24
  <p style='text-align: center'>
25
  Follow me for more!
26
  <br> <a href='https://twitter.com/fcakyon' target='_blank'>twitter</a> | <a href='https://github.com/fcakyon' target='_blank'>github</a> | <a href='https://www.linkedin.com/in/fcakyon/' target='_blank'>linkedin</a> | <a href='https://fcakyon.medium.com/' target='_blank'>medium</a>
27
  </p>
28
+ .
29
+ </p>
30
  """
31
+
32
+
 
33
 
34
 
35
 
36
+ gr.Interface.load("models/hamdan07/UltraSound-Lung",examples=example_list,title=title,description=description).launch(debug=False,share=False)
37