Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,15 +9,15 @@ Original file is located at
|
|
9 |
Installations
|
10 |
"""
|
11 |
|
12 |
-
|
13 |
-
|
14 |
|
15 |
"""#Let's build a demo for a sentiment analysis task !
|
16 |
|
17 |
Import the necessary modules :
|
18 |
"""
|
19 |
|
20 |
-
|
21 |
import gradio as gr
|
22 |
|
23 |
"""Import the pipeline :"""
|
|
|
9 |
Installations
|
10 |
"""
|
11 |
|
12 |
+
pip install gradio --quiet
|
13 |
+
pip install transformers --quiet
|
14 |
|
15 |
"""#Let's build a demo for a sentiment analysis task !
|
16 |
|
17 |
Import the necessary modules :
|
18 |
"""
|
19 |
|
20 |
+
from transformers import pipeline
|
21 |
import gradio as gr
|
22 |
|
23 |
"""Import the pipeline :"""
|