Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
|
4 |
import gradio as gr
|
5 |
import tensorflow as tf
|
|
|
|
|
6 |
from transformers import MBartTokenizer, TFMBartForConditionalGeneration
|
7 |
|
8 |
def run_model(input_text,
|
|
|
3 |
|
4 |
import gradio as gr
|
5 |
import tensorflow as tf
|
6 |
+
import torch
|
7 |
+
|
8 |
from transformers import MBartTokenizer, TFMBartForConditionalGeneration
|
9 |
|
10 |
def run_model(input_text,
|