mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
Fixing import issues so that the package successfully installs on colab notebooks (#1027)
* updated PyPi version to 2.9.0b * added to init * moved media_data * formatting * updated PyPi version to 2.9.0b2
This commit is contained in:
parent
6a432c997f
commit
ef8b97223d
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: gradio
|
||||
Version: 2.9.0b0
|
||||
Version: 2.9.0b2
|
||||
Summary: Python library for easily interacting with trained machine learning models
|
||||
Home-page: https://github.com/gradio-app/gradio-UI
|
||||
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq, Pete Allen, Ömer Faruk Özdemir
|
||||
|
@ -20,9 +20,8 @@ import PIL
|
||||
from ffmpy import FFmpeg
|
||||
from markdown_it import MarkdownIt
|
||||
|
||||
from gradio import processing_utils
|
||||
from gradio import media_data, processing_utils
|
||||
from gradio.blocks import Block
|
||||
from gradio.test_data import media_data
|
||||
|
||||
|
||||
class Component(Block):
|
||||
|
@ -0,0 +1 @@
|
||||
import gradio.media_data as media_data
|
@ -1 +1 @@
|
||||
2.9.0b
|
||||
2.9.0b2
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ except ImportError:
|
||||
|
||||
setup(
|
||||
name="gradio",
|
||||
version="2.9.0b",
|
||||
version="2.9.0b2",
|
||||
include_package_data=True,
|
||||
description="Python library for easily interacting with trained machine learning models",
|
||||
author="Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq, Pete Allen, Ömer Faruk Özdemir",
|
||||
|
@ -11,7 +11,7 @@ import pandas as pd
|
||||
import PIL
|
||||
|
||||
import gradio as gr
|
||||
from gradio.test_data import media_data
|
||||
from gradio import media_data
|
||||
|
||||
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||
|
||||
|
@ -2,7 +2,7 @@ import os
|
||||
import unittest
|
||||
|
||||
from gradio import encryptor, processing_utils
|
||||
from gradio.test_data.media_data import BASE64_IMAGE
|
||||
from gradio.media_data import BASE64_IMAGE
|
||||
|
||||
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||
|
||||
|
@ -10,7 +10,7 @@ import pandas
|
||||
import PIL
|
||||
|
||||
import gradio as gr
|
||||
from gradio.test_data import media_data
|
||||
from gradio import media_data
|
||||
|
||||
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||
|
||||
|
@ -5,9 +5,8 @@ from copy import deepcopy
|
||||
import numpy as np
|
||||
|
||||
import gradio.interpretation
|
||||
from gradio import Interface
|
||||
from gradio import Interface, media_data
|
||||
from gradio.processing_utils import decode_base64_to_image
|
||||
from gradio.test_data import media_data
|
||||
|
||||
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||
|
||||
|
@ -8,7 +8,7 @@ import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
import gradio as gr
|
||||
from gradio.test_data import media_data
|
||||
from gradio import media_data
|
||||
|
||||
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||
|
||||
|
@ -8,7 +8,7 @@ import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
import gradio as gr
|
||||
from gradio.test_data import media_data
|
||||
from gradio import media_data
|
||||
|
||||
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user