Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Felix273
/
ESRGAN-Demo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Thiên Phúc
commited on
Jul 23, 2025
Commit
8a18da7
·
1 Parent(s):
e633859
add sys path
Browse files
Files changed (1)
hide
show
app.py
+4
-0
app.py
CHANGED
Viewed
@@ -1,3 +1,7 @@
1
import gradio as gr
2
try:
3
import cv2
1
+
import sys
2
+
import os
3
+
4
+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
5
import gradio as gr
6
try:
7
import cv2