Fixing import issues so that the package successfully installs on colab notebooks#1027
Conversation
|
Released |
|
LGTM |
|
Thanks |
|
This actually is a very strange error and everything seems fine from project structure. Did you find any similar errors on internet? We would prefer having |
|
|
||
| import gradio as gr | ||
| from gradio.test_data import media_data | ||
| from gradio import media_data |
There was a problem hiding this comment.
did you need to apply these changes since you did this in test_data/init.py
import gradio.media_data as media_data
|
Yeah @farukozderim. I tried various things including modifying the You can test this yourself by installing I agree with you that this is not an ideal solution, since |


The pre-release
gradio==2.9.0b0was created from the new main branch, but whenever I try to test it on colab, I get this error: #1025This PR attempts to fix that. Closes: #1025