juanpasanper commited on
Commit
059d35d
1 Parent(s): b61ec49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
  class Model(nn.Module):
3
  def __init__(self, model_name='bert_model'):
4
  super(Model, self).__init__()
 
1
  import gradio as gr
2
+ import torch.nn as nn
3
  class Model(nn.Module):
4
  def __init__(self, model_name='bert_model'):
5
  super(Model, self).__init__()