Spaces:
Runtime error
Runtime error
Commit
·
08fc2ed
1
Parent(s):
4b15e0e
Add application file
Browse files
app.py
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def greet(name):
|
|
|
|
| 1 |
+
!pip install --quiet sentencepiece==0.1.95
|
| 2 |
+
!pip install --quiet textwrap3==0.9.2
|
| 3 |
+
!pip install fastt5==0.1.4 --no-dependencies
|
| 4 |
+
!pip install numpy
|
| 5 |
+
!pip install --quiet sentence_transformers
|
| 6 |
+
|
| 7 |
import gradio as gr
|
| 8 |
|
| 9 |
def greet(name):
|