Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,12 +48,12 @@ with gr.Blocks(css="style.css") as demo:
|
|
48 |
prompt.submit(fn=generate, inputs=prompt, outputs=gallery)
|
49 |
|
50 |
with gr.Blocks() as demo_with_history:
|
|
|
|
|
51 |
with gr.Tab("Demo"):
|
52 |
demo.render()
|
53 |
with gr.Tab("Past generations"):
|
54 |
user_history.render()
|
55 |
-
with gr.Tab("README"):
|
56 |
-
gr.Markdown(Path("README.md").read_text().split("---")[-1])
|
57 |
|
58 |
if __name__ == "__main__":
|
59 |
demo_with_history.queue().launch()
|
|
|
48 |
prompt.submit(fn=generate, inputs=prompt, outputs=gallery)
|
49 |
|
50 |
with gr.Blocks() as demo_with_history:
|
51 |
+
with gr.Tab("README"):
|
52 |
+
gr.Markdown(Path("README.md").read_text().split("---")[-1])
|
53 |
with gr.Tab("Demo"):
|
54 |
demo.render()
|
55 |
with gr.Tab("Past generations"):
|
56 |
user_history.render()
|
|
|
|
|
57 |
|
58 |
if __name__ == "__main__":
|
59 |
demo_with_history.queue().launch()
|