Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import shutil
|
2 |
import subprocess
|
|
|
|
|
3 |
|
4 |
import torch
|
5 |
import gradio as gr
|
@@ -12,7 +14,6 @@ import uvicorn
|
|
12 |
from transformers import TextStreamer
|
13 |
|
14 |
import hashlib
|
15 |
-
import os
|
16 |
import sys
|
17 |
import time
|
18 |
import warnings
|
|
|
1 |
import shutil
|
2 |
import subprocess
|
3 |
+
import os
|
4 |
+
os.environ['GRADIO_TEMP_DIR']="temp"
|
5 |
|
6 |
import torch
|
7 |
import gradio as gr
|
|
|
14 |
from transformers import TextStreamer
|
15 |
|
16 |
import hashlib
|
|
|
17 |
import sys
|
18 |
import time
|
19 |
import warnings
|