Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
|
|
|
| 3 |
|
| 4 |
model = whisper.load_model("base")
|
| 5 |
sentiment_analysis = pipeline("sentiment-analysis", framework="pt", model="SamLowe/roberta-base-go_emotions")
|
|
@@ -147,4 +148,4 @@ with block:
|
|
| 147 |
</div>
|
| 148 |
''')
|
| 149 |
|
| 150 |
-
block.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import whisper
|
| 3 |
+
from transformers import pipeline
|
| 4 |
|
| 5 |
model = whisper.load_model("base")
|
| 6 |
sentiment_analysis = pipeline("sentiment-analysis", framework="pt", model="SamLowe/roberta-base-go_emotions")
|
|
|
|
| 148 |
</div>
|
| 149 |
''')
|
| 150 |
|
| 151 |
+
block.launch()
|