matyasbohacek commited on
Commit
ca45f52
1 Parent(s): 480f34d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -5,8 +5,11 @@ os.system("pip uninstall -y gradio")
5
  os.system("pip install gradio==3.16.0")
6
 
7
  import torch
8
- import torch.nn.modules.linear.NonDynamicallyQuantizableLinear as torch.nn.modules.linear._LinearWithBias
9
 
 
 
 
 
10
 
11
  import numpy as np
12
  import gradio as gr
 
5
  os.system("pip install gradio==3.16.0")
6
 
7
  import torch
 
8
 
9
+ #
10
+ import torch.nn.modules.linear as linear
11
+ linear._LinearWithBias = linear.NonDynamicallyQuantizableLinear
12
+ #
13
 
14
  import numpy as np
15
  import gradio as gr