Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import json
|
|
3 |
import logging
|
4 |
import boto3
|
5 |
from fastapi import FastAPI, HTTPException
|
6 |
-
from
|
7 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
import asyncio
|
|
|
3 |
import logging
|
4 |
import boto3
|
5 |
from fastapi import FastAPI, HTTPException
|
6 |
+
from fastapi.responses import JSONResponse
|
7 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
import asyncio
|