pr0mila commited on
Commit
5d132f3
·
1 Parent(s): 2742f54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -12,7 +12,7 @@ def abstractive_text(text):
12
 
13
 
14
  import gradio as gr
15
- sum_iface = gr.Interface(fn=abstractive_text, inputs= ["text"],outputs=["text"],title="Case summary generation").queue()
16
 
17
 
18
 
@@ -41,7 +41,7 @@ def get_result_with_bloom(text):
41
 
42
 
43
 
44
- txtgen_iface = gr.Interface(fn=get_result_with_bloom,inputs = "text",outputs=["text"],title="Text generation with Bloom").queue()
45
 
46
 
47
  import spacy.cli
@@ -102,8 +102,8 @@ stable_iface = gr.Interface(fn=stable_image, inputs= "text",outputs=["image"],ti
102
 
103
  demo = gr.TabbedInterface(
104
 
105
- [txtgen_iface, sum_iface, med_iface,stable_iface], ["Text Generation", "Summary Generation", "Drug Named-entity recognition","Text to Image"],
106
- title="All the Models of UWC",
107
 
108
  )
109
 
 
12
 
13
 
14
  import gradio as gr
15
+ sum_iface = gr.Interface(fn=abstractive_text, inputs= ["text"],outputs=["text"],title="Case Summary Generation").queue()
16
 
17
 
18
 
 
41
 
42
 
43
 
44
+ txtgen_iface = gr.Interface(fn=get_result_with_bloom,inputs = "text",outputs=["text"],title="Text Generation").queue()
45
 
46
 
47
  import spacy.cli
 
102
 
103
  demo = gr.TabbedInterface(
104
 
105
+ [txtgen_iface, sum_iface, med_iface,stable_iface], ["Text Generation", "Summary Generation", "Drug Named-entity Recognition","Text to Image"],
106
+ title="United We Care",
107
 
108
  )
109