Karumoon commited on
Commit
eed7097
1 Parent(s): 52535e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- img1=proc1("girl")
51
- german="soijfoijf"
 
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()