Spaces:
Build error
Build error
Commit
•
02f562e
1
Parent(s):
d00a594
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
import json
|
|
|
|
|
|
|
2 |
|
3 |
import spaces
|
4 |
import gradio as gr
|
@@ -11,8 +14,7 @@ download_url = "https://huggingface.co/Qwen/Qwen2-0.5B-Instruct-GGUF/resolve/mai
|
|
11 |
|
12 |
|
13 |
if not os.path.exists(file_path):
|
14 |
-
|
15 |
-
import tqdm
|
16 |
|
17 |
response = requests.get(download_url, stream=True)
|
18 |
total_length = int(response.headers.get("content-length"))
|
|
|
1 |
import json
|
2 |
+
import os
|
3 |
+
import requests
|
4 |
+
import tqdm
|
5 |
|
6 |
import spaces
|
7 |
import gradio as gr
|
|
|
14 |
|
15 |
|
16 |
if not os.path.exists(file_path):
|
17 |
+
|
|
|
18 |
|
19 |
response = requests.get(download_url, stream=True)
|
20 |
total_length = int(response.headers.get("content-length"))
|