5m4ck3r commited on
Commit
635344d
·
verified ·
1 Parent(s): f173779

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -10,9 +10,9 @@ def get_answer(image: str, question: str):
10
  spid = os.getenv('SPID')
11
  hug = hugging(spid)
12
  filelink = hug.upload(filename)
13
- file.seek(0, 2)
14
- file_size = file.tell()
15
- file.seek(0)
16
  data = [
17
  {
18
  "meta": {
 
10
  spid = os.getenv('SPID')
11
  hug = hugging(spid)
12
  filelink = hug.upload(filename)
13
+ image.seek(0, 2)
14
+ file_size = image.tell()
15
+ image.seek(0)
16
  data = [
17
  {
18
  "meta": {