multimodalart HF staff commited on
Commit
8485d74
·
verified ·
1 Parent(s): 60c7a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  from PIL import Image
3
  import requests
4
  import subprocess
 
5
  from transformers import Blip2Processor, Blip2ForConditionalGeneration
6
  from huggingface_hub import snapshot_download, HfApi
7
  import torch
@@ -15,7 +16,6 @@ import argparse
15
  import importlib
16
  import sys
17
  from pathlib import Path
18
- import spaces
19
  import zipfile
20
 
21
  MAX_IMAGES = 150
 
2
  from PIL import Image
3
  import requests
4
  import subprocess
5
+ import spaces
6
  from transformers import Blip2Processor, Blip2ForConditionalGeneration
7
  from huggingface_hub import snapshot_download, HfApi
8
  import torch
 
16
  import importlib
17
  import sys
18
  from pathlib import Path
 
19
  import zipfile
20
 
21
  MAX_IMAGES = 150