Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ sys.modules['flash_attn'] = types.ModuleType('flash_attn')
|
|
5 |
import transformers.dynamic_module_utils as dmu
|
6 |
dmu.check_imports = lambda *args, **kwargs: []
|
7 |
|
|
|
|
|
8 |
|
9 |
import gradio as gr
|
10 |
import torch
|
|
|
5 |
import transformers.dynamic_module_utils as dmu
|
6 |
dmu.check_imports = lambda *args, **kwargs: []
|
7 |
|
8 |
+
import huggingface_hub as _hf_hub
|
9 |
+
_hf_hub.cached_download = _hf_hub.hf_hub_download
|
10 |
|
11 |
import gradio as gr
|
12 |
import torch
|