Update app.py
Browse files
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
|
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
|
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
|
106 |
-
title="
|
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 |
|