Comments (4)
The requirements are very loose.
pip install -r requirements.txt
should simply work.
As for reference, here is what I use.
gradio==3.30.0
tqdm==4.62.3
torch==1.11.0
torchvision==0.12.0
numpy==1.21.2
fire==0.5.0
imageio==2.13.5
imageio-ffmpeg==0.4.7
from draggan.
I used these command :
conda create -n draggan
conda activate draggan
pip install -r requirements.txt
python gradio_app.py
It shows :
Traceback (most recent call last):
File "gradio_app.py", line 2, in <module>
import gradio as gr
File "/home/***/.local/lib/python3.8/site-packages/gradio/__init__.py", line 3, in <module>
import gradio.components as components
File "/home/***/.local/lib/python3.8/site-packages/gradio/components.py", line 34, in <module>
from gradio_client import media_data
File "/home/***/.local/lib/python3.8/site-packages/gradio_client/__init__.py", line 1, in <module>
from gradio_client.client import Client
File "/home/***.local/lib/python3.8/site-packages/gradio_client/client.py", line 30, in <module>
from gradio_client import serializing, utils
File "/home/***/.local/lib/python3.8/site-packages/gradio_client/serializing.py", line 9, in <module>
from gradio_client import media_data, utils
File "/home/***/.local/lib/python3.8/site-packages/gradio_client/utils.py", line 19, in <module>
import fsspec.asyn
ModuleNotFoundError: No module named 'fsspec.asyn'
Ubuntu 20.04, conda 22.9.0
and fsspec has already installed, when I tried pip install fsspec
, it shows:
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: fsspec in /usr/lib/python3/dist-packages (0.6.1)
Python 3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0] on linux
from draggan.
a little wired. you could try
pip install --upgrade fsspec
from draggan.
That works, thanks 👍
from draggan.
Related Issues (20)
- 跑起来后点击图片没反应 HOT 7
- uploaded image was blurred
- 群二维码过期了 HOT 1
- For further information visit https://errors.pydantic.dev/2.1.2/v/missing HOT 8
- mask did not use?
- Error in Mask HOT 2
- 10249
- about license
- Gradio gets stuck in loop after clicking an image or button HOT 6
- No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8' HOT 1
- 无法成功修改自己的照片。
- 你们这个东西真的超级难用,不知道是个什么玩意儿 HOT 1
- update install.md to specifiy the tag ‘main' instead of default 'latest' or empty
- python -m draggon.web, when add point, it failed. HOT 2
- Can't apply checkpoint model - missing DLL "bias_act_plugin"- module not found
- AttributeError: 'dict' object has no attribute 'img_resolution' HOT 8
- 为什么最新版本去掉了自定义照片功能
- TypeError: Image.__init__() got an unexpected keyword argument 'source' HOT 1
- Clicking on any button would result in loading forever. HOT 1
- > when i run **python visualizer_drag_gradio.py**
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draggan.