analist commited on
Commit
581ddb4
1 Parent(s): be6e1cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ st.title('Take your picture to the next level')
6
 
7
  def upscale(model_choice):
8
  if model_choice == "EDSR":
9
- from transformers import AutoModel
10
- model = AutoModel.from_pretrained("eugenesiow/edsr-base")
11
  else:
12
  st.text('Not supported yet. Comeback soon for fun releases')
13
 
 
6
 
7
  def upscale(model_choice):
8
  if model_choice == "EDSR":
9
+
10
+ model = EdsrModel.from_pretrained("eugenesiow/edsr-base")
11
  else:
12
  st.text('Not supported yet. Comeback soon for fun releases')
13