mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-05 11:10:03 +08:00
changes
This commit is contained in:
parent
be138f55ed
commit
0cfd220a2f
@ -308,18 +308,11 @@ class Image(AbstractInput):
|
||||
return array
|
||||
|
||||
def process_example(self, example):
|
||||
<<<<<<< HEAD
|
||||
if os.path.exists(example)
|
||||
return preprocessing_utils.convert_file_to_base64(example)
|
||||
else:
|
||||
return example
|
||||
=======
|
||||
if os.path.exists(example):
|
||||
return preprocessing_utils.convert_file_to_base64(example)
|
||||
else:
|
||||
return example
|
||||
|
||||
>>>>>>> 2e5378d7f8fce70786c93d727f5a5c008c74bff9
|
||||
|
||||
class Microphone(AbstractInput):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user