Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def generate(text):
|
|
37 |
print("i={},out={}".format(i, splitOutput[i]))
|
38 |
if(i>0 and splitOutput[i].strip()):
|
39 |
theReturn+=splitOutput[i].strip()
|
40 |
-
print("result={}"
|
41 |
return tokenizer.decode(outputs[0])
|
42 |
|
43 |
gradio_app = gr.Interface(
|
|
|
37 |
print("i={},out={}".format(i, splitOutput[i]))
|
38 |
if(i>0 and splitOutput[i].strip()):
|
39 |
theReturn+=splitOutput[i].strip()
|
40 |
+
print("result={}".format(theReturn))
|
41 |
return tokenizer.decode(outputs[0])
|
42 |
|
43 |
gradio_app = gr.Interface(
|