Spaces:
Runtime error
Runtime error
mwitiderrick
commited on
Commit
·
1da40c3
1
Parent(s):
e155e73
Update app.py
Browse files
app.py
CHANGED
@@ -84,11 +84,11 @@ with gr.Blocks() as demo:
|
|
84 |
""")
|
85 |
text = gr.Text(label="Text")
|
86 |
btn = gr.Button("Submit")
|
87 |
-
|
88 |
-
dense_answers = gr.HighlightedText(label="Dense model answer")
|
89 |
-
dense_duration = gr.Number(label="Dense Latency (ms):")
|
90 |
sparse_answers = gr.HighlightedText(label="Sparse model answers")
|
91 |
sparse_duration = gr.Number(label="Sparse Latency (ms):")
|
|
|
|
|
92 |
|
93 |
|
94 |
|
|
|
84 |
""")
|
85 |
text = gr.Text(label="Text")
|
86 |
btn = gr.Button("Submit")
|
87 |
+
|
|
|
|
|
88 |
sparse_answers = gr.HighlightedText(label="Sparse model answers")
|
89 |
sparse_duration = gr.Number(label="Sparse Latency (ms):")
|
90 |
+
gr.Examples( [["We are flying from Texas to California"],["Mary is flying from Nairobi to New York"],["Norway is beautiful and has great hotels"] ],inputs=[text],)
|
91 |
+
|
92 |
|
93 |
|
94 |
|