ejschwartz commited on
Commit
214a45b
·
1 Parent(s): 69544e2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ pipe = pipeline(model="ejshcwartz/decaf-v1-22b")
7
  pipe.model.to("cuda")
8
 
9
  @spaces.GPU
10
- def translate(text):
11
  return pipe(text)[0]
12
 
13
- demo = gr.Interface(fn=translate, inputs="text", outputs="text")
14
  demo.launch()
 
7
  pipe.model.to("cuda")
8
 
9
  @spaces.GPU
10
+ def generate(text):
11
  return pipe(text)[0]
12
 
13
+ demo = gr.Interface(fn=generate, inputs="text", outputs="text")
14
  demo.launch()