awacke1 commited on
Commit
b6faabb
·
1 Parent(s): 90d9df0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import os
2
  import gradio as gr
3
  import torch
@@ -12,7 +13,7 @@ DEFAULT_PROMPT = "<image>"
12
 
13
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
14
 
15
- model = FlamingoModel.from_pretrained('dhansmair/flamingo-mini')
16
  model.to(device)
17
  model.eval()
18
 
 
1
+
2
  import os
3
  import gradio as gr
4
  import torch
 
13
 
14
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
15
 
16
+ model = FlamingoModel.from_pretrained('dhansmair/flamingo-tiny')
17
  model.to(device)
18
  model.eval()
19