Update app.py
Browse files
app.py
CHANGED
@@ -47,8 +47,9 @@ proc1=gr.Interface.load(f"models/{model_1}",live=False,preprocess=True, postproc
|
|
47 |
|
48 |
|
49 |
def translate(text):
|
50 |
-
|
51 |
-
|
|
|
52 |
return #pipe(text)[0]["translation_text"]
|
53 |
|
54 |
|
@@ -68,4 +69,5 @@ with gr.Blocks() as demo:
|
|
68 |
examples = gr.Examples(examples=["I went to the supermarket yesterday.", "Helen is a good swimmer."],
|
69 |
inputs=[english])
|
70 |
|
|
|
71 |
demo.launch()
|
|
|
47 |
|
48 |
|
49 |
def translate(text):
|
50 |
+
print("vvv")
|
51 |
+
img1.update(proc1("girl"))
|
52 |
+
german.update("soijfoijf")
|
53 |
return #pipe(text)[0]["translation_text"]
|
54 |
|
55 |
|
|
|
69 |
examples = gr.Examples(examples=["I went to the supermarket yesterday.", "Helen is a good swimmer."],
|
70 |
inputs=[english])
|
71 |
|
72 |
+
print("abc01")
|
73 |
demo.launch()
|