Spaces:
Sleeping
Sleeping
Commit
·
2899e27
1
Parent(s):
d0cec5b
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def tensor_to_image(tensor):
|
|
| 17 |
tensor = tensor[0]
|
| 18 |
return PIL.Image.fromarray(tensor)
|
| 19 |
|
| 20 |
-
content_image_input = gr.Image(label="Content Image", sources =
|
| 21 |
style_image_input = gr.Image(label="Style Image")
|
| 22 |
|
| 23 |
text = "#Developer: Aditya Jadhav #College: Government Polytechnic Nagpur #Branch: AIML (Artificial Intelligence and Machine Learning), 3rd year #Date: 17th November 2023 #LinkedIn: https://www.linkedin.com/in/aditya-jadhav-27a790269 #GitHub: https://github.com/AdityaJ9801 #Introduction: The application focuses on neural style transfer, where the style from a style image is applied to a content image."
|
|
|
|
| 17 |
tensor = tensor[0]
|
| 18 |
return PIL.Image.fromarray(tensor)
|
| 19 |
|
| 20 |
+
content_image_input = gr.Image(label="Content Image", sources = ('upload', 'webcam'))
|
| 21 |
style_image_input = gr.Image(label="Style Image")
|
| 22 |
|
| 23 |
text = "#Developer: Aditya Jadhav #College: Government Polytechnic Nagpur #Branch: AIML (Artificial Intelligence and Machine Learning), 3rd year #Date: 17th November 2023 #LinkedIn: https://www.linkedin.com/in/aditya-jadhav-27a790269 #GitHub: https://github.com/AdityaJ9801 #Introduction: The application focuses on neural style transfer, where the style from a style image is applied to a content image."
|