Fetching metadata from the HF Docker repository...
|
@@ -1,6 +1,8 @@
|
|
1
|
import gradio as gr
|
|
|
|
|
2
|
|
|
3
|
def chat(img, question):
|
|
|
|
|
4
|
|
|
5
|
return question
|
|
6
|
|
|
|
|
1
|
import gradio as gr
|
|
2
|
+
from PIL import Image
|
|
3
|
|
|
4
|
def chat(img, question):
|
|
5
|
+
img.save("img.jpg")
|
|
6
|
|
|
7
|
return question
|
|
8
|
|