Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def main():
|
|
| 60 |
gr.Markdown(FOOTER)
|
| 61 |
|
| 62 |
with open('samples.txt') as f:
|
| 63 |
-
|
| 64 |
|
| 65 |
examples = gr.Examples(examples=samples,
|
| 66 |
fn=model.run_with_translation,
|
|
|
|
| 60 |
gr.Markdown(FOOTER)
|
| 61 |
|
| 62 |
with open('samples.txt') as f:
|
| 63 |
+
samples = [[line.strip()] for line in f.readlines()]
|
| 64 |
|
| 65 |
examples = gr.Examples(examples=samples,
|
| 66 |
fn=model.run_with_translation,
|