requirements add
Browse files- app.py +1 -4
- requirements.txt +1 -0
app.py
CHANGED
@@ -1,11 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
-
import
|
3 |
-
import json
|
4 |
|
5 |
def greet(name):
|
6 |
|
7 |
-
from transformers import pipeline
|
8 |
-
|
9 |
translation = pipeline("translation", model="Helsinki-NLP/opus-mt-en-hu")
|
10 |
sentences1 = "We believe that trustworthy health information should be free to everyone and we rely on advertising to make that possible. Providing authoritative experiences that are reviewed by physicians and other health and wellness professionals is expensive, but it’s an invaluable service. We collect and securely process your personal data to deliver a relevant experience and support our business, so we ask that you allow cookies in order to access all of our content and features."
|
11 |
text_translated=[]
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import pipeline
|
|
|
3 |
|
4 |
def greet(name):
|
5 |
|
|
|
|
|
6 |
translation = pipeline("translation", model="Helsinki-NLP/opus-mt-en-hu")
|
7 |
sentences1 = "We believe that trustworthy health information should be free to everyone and we rely on advertising to make that possible. Providing authoritative experiences that are reviewed by physicians and other health and wellness professionals is expensive, but it’s an invaluable service. We collect and securely process your personal data to deliver a relevant experience and support our business, so we ask that you allow cookies in order to access all of our content and features."
|
8 |
text_translated=[]
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
transformers
|