Spaces:
Running
Running
Commit
·
d6aa13d
1
Parent(s):
7f70568
Update app.py
Browse files
app.py
CHANGED
@@ -92,17 +92,10 @@ description1 = """
|
|
92 |
Just add your text and hit Create & Analyze ✨
|
93 |
"""
|
94 |
|
95 |
-
description2 = """
|
96 |
-
Although encouraged, you don't have to fill all the boxes. Just try the ones that matter to you. After getting your first score, modify your answers and hit Create & Analyze again 🤞
|
97 |
-
"""
|
98 |
-
|
99 |
with gr.Blocks(title=title) as demo:
|
100 |
gr.Markdown(f"## {title}")
|
101 |
-
gr.Markdown("""""")
|
102 |
gr.Markdown(description1)
|
103 |
gr.Markdown("""---""")
|
104 |
-
gr.Markdown(description2)
|
105 |
-
gr.Markdown("""---""")
|
106 |
prob1 = gr.Textbox(label="Enter Your Text Here:",lines=2, placeholder="Type it here ...")
|
107 |
submit_btn = gr.Button("Create & Analyze")
|
108 |
#text = gr.Textbox(label="Text:",lines=2, placeholder="Please enter text here ...")
|
@@ -118,7 +111,7 @@ with gr.Blocks(title=title) as demo:
|
|
118 |
submit_btn.click(
|
119 |
main,
|
120 |
[prob1],
|
121 |
-
[label,impplot,NER], api_name="
|
122 |
)
|
123 |
|
124 |
|
|
|
92 |
Just add your text and hit Create & Analyze ✨
|
93 |
"""
|
94 |
|
|
|
|
|
|
|
|
|
95 |
with gr.Blocks(title=title) as demo:
|
96 |
gr.Markdown(f"## {title}")
|
|
|
97 |
gr.Markdown(description1)
|
98 |
gr.Markdown("""---""")
|
|
|
|
|
99 |
prob1 = gr.Textbox(label="Enter Your Text Here:",lines=2, placeholder="Type it here ...")
|
100 |
submit_btn = gr.Button("Create & Analyze")
|
101 |
#text = gr.Textbox(label="Text:",lines=2, placeholder="Please enter text here ...")
|
|
|
111 |
submit_btn.click(
|
112 |
main,
|
113 |
[prob1],
|
114 |
+
[label,impplot,NER], api_name="ResText"
|
115 |
)
|
116 |
|
117 |
|