Spaces:
Paused
Paused
Daniel Marques
commited on
Commit
·
c4cd469
1
Parent(s):
c18ec7e
fix: add types
Browse files- load_models.py +0 -1
- main.py +1 -1
load_models.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import torch
|
2 |
|
3 |
import logging
|
4 |
-
from typing import Any, Dict, List
|
5 |
|
6 |
from auto_gptq import AutoGPTQForCausalLM
|
7 |
from huggingface_hub import hf_hub_download
|
|
|
1 |
import torch
|
2 |
|
3 |
import logging
|
|
|
4 |
|
5 |
from auto_gptq import AutoGPTQForCausalLM
|
6 |
from huggingface_hub import hf_hub_download
|
main.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
import glob
|
3 |
import shutil
|
4 |
import subprocess
|
5 |
-
import
|
6 |
|
7 |
from fastapi import FastAPI, HTTPException, UploadFile, WebSocket
|
8 |
from fastapi.staticfiles import StaticFiles
|
|
|
2 |
import glob
|
3 |
import shutil
|
4 |
import subprocess
|
5 |
+
from typing import Any, Dict, List
|
6 |
|
7 |
from fastapi import FastAPI, HTTPException, UploadFile, WebSocket
|
8 |
from fastapi.staticfiles import StaticFiles
|