Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def main():
|
|
| 89 |
input='text',
|
| 90 |
))
|
| 91 |
device = th.device()
|
| 92 |
-
|
| 93 |
iface = gr.Interface(
|
| 94 |
fn=predict,
|
| 95 |
inputs='text',
|
|
|
|
| 89 |
input='text',
|
| 90 |
))
|
| 91 |
device = th.device()
|
| 92 |
+
generator = create_generator(args, device)
|
| 93 |
iface = gr.Interface(
|
| 94 |
fn=predict,
|
| 95 |
inputs='text',
|