Yhhxhfh commited on
Commit
f8bacf3
1 Parent(s): 762d575

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,7 +2,6 @@ from pydantic import BaseModel
2
  from llama_cpp import Llama
3
  from concurrent.futures import ThreadPoolExecutor, as_completed
4
  import re
5
- import httpx
6
  import asyncio
7
  import gradio as gr
8
  import os
@@ -10,6 +9,9 @@ import spaces
10
  from dotenv import load_dotenv
11
  from fastapi import FastAPI, Request
12
  from fastapi.responses import JSONResponse
 
 
 
13
 
14
  app = FastAPI()
15
 
 
2
  from llama_cpp import Llama
3
  from concurrent.futures import ThreadPoolExecutor, as_completed
4
  import re
 
5
  import asyncio
6
  import gradio as gr
7
  import os
 
9
  from dotenv import load_dotenv
10
  from fastapi import FastAPI, Request
11
  from fastapi.responses import JSONResponse
12
+ import urllib3
13
+
14
+ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
15
 
16
  app = FastAPI()
17