Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.load("models/arisha123/distilhubert-finetuned-my_dataset").launch()
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
gr.load("models/arisha123/distilhubert-finetuned-my_dataset").launch()
|
4 |
+
from gradio.mix import Parallel, Series
|
5 |
+
translator = gr.Interface.load("models/arisha123/distilhubert-finetuned-my_dataset")
|
6 |
+
summarizer = gr.Interface.load("openai/whisper-small")
|
7 |
+
Series(translator, summarizer).launch()
|