Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def genrate(prompt):
|
4 |
+
return None
|
5 |
+
|
6 |
+
with gr.Blocks() as demo:
|
7 |
+
gr.Markdown("# Tony Assi")
|
8 |
+
img = gr.Image()
|
9 |
+
textbox = gr.Textbox()
|
10 |
+
button = gr.Button("Run")
|
11 |
+
btn.click(fn=generate, inputs=img, outputs=textbox)
|
12 |
+
|
13 |
+
demo.launch()
|