Spaces:
Runtime error
Runtime error
nos
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def flip_text(x):
|
|
| 45 |
def flip_image(x):
|
| 46 |
return np.fliplr(x)
|
| 47 |
|
| 48 |
-
|
| 49 |
with gr.Blocks() as demo:
|
| 50 |
with gr.Tab("Chat"):
|
| 51 |
with gr.Row():
|
|
@@ -91,7 +91,9 @@ with gr.Blocks() as demo:
|
|
| 91 |
#text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
| 92 |
#image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
| 93 |
|
| 94 |
-
|
| 95 |
-
|
|
|
|
|
|
|
| 96 |
if __name__ == "__main__":
|
| 97 |
demo.launch()
|
|
|
|
| 45 |
def flip_image(x):
|
| 46 |
return np.fliplr(x)
|
| 47 |
|
| 48 |
+
"""
|
| 49 |
with gr.Blocks() as demo:
|
| 50 |
with gr.Tab("Chat"):
|
| 51 |
with gr.Row():
|
|
|
|
| 91 |
#text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
| 92 |
#image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
| 93 |
|
| 94 |
+
"""
|
| 95 |
+
demo = gr.ChatInterface(
|
| 96 |
+
respond
|
| 97 |
+
)
|
| 98 |
if __name__ == "__main__":
|
| 99 |
demo.launch()
|