Spaces:
Runtime error
Runtime error
Benjamin Consolvo
commited on
Commit
•
8cea305
1
Parent(s):
2a2c864
app coming soon
Browse files
app.py
CHANGED
@@ -3,5 +3,18 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
iface.launch()
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
+
md = """
|
7 |
+
App coming soon!
|
8 |
+
|
9 |
+
Based on the [Prune Once for All: Sparse Pre-Trained Language Models](https://arxiv.org/abs/2111.05754) paper.
|
10 |
+
|
11 |
+
"""
|
12 |
+
|
13 |
+
iface = gr.Interface(
|
14 |
+
fn=greet,
|
15 |
+
inputs="text",
|
16 |
+
outputs="text",
|
17 |
+
title = "Question & Answer with Sparse BERT using the SQuAD dataset",
|
18 |
+
description = md
|
19 |
+
)
|
20 |
iface.launch()
|