Spaces:
Build error
Build error
andrew3279
commited on
Commit
•
63a9cb3
1
Parent(s):
deaf33a
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ def beam_gradio_pipeline(prompt,length=100):
|
|
28 |
early_stopping=True
|
29 |
)[0])
|
30 |
|
31 |
-
with gr.Blocks() as
|
32 |
-
gr.Markdown("<h1><center>Andrew Lim Bloom
|
33 |
gr.Markdown("""<h2><center>Generate your story with a sentence or ask a question:<br><br>
|
34 |
<img src=https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1634806038075-5df7e9e5da6d0311fd3d53f9.png?w=200&h=200&f=face width=200px></center></h2>""")
|
35 |
gr.Markdown("""<center>******</center>""")
|
@@ -40,4 +40,4 @@ with gr.Blocks() as demo:
|
|
40 |
output_text = gr.Textbox(lines=6, label="The story start with :")
|
41 |
buton.click(beam_gradio_pipeline, inputs=[input_text], outputs=output_text)
|
42 |
|
43 |
-
|
|
|
28 |
early_stopping=True
|
29 |
)[0])
|
30 |
|
31 |
+
with gr.Blocks() as web:
|
32 |
+
gr.Markdown("<h1><center>Andrew Lim Bloom Test </center></h1>")
|
33 |
gr.Markdown("""<h2><center>Generate your story with a sentence or ask a question:<br><br>
|
34 |
<img src=https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1634806038075-5df7e9e5da6d0311fd3d53f9.png?w=200&h=200&f=face width=200px></center></h2>""")
|
35 |
gr.Markdown("""<center>******</center>""")
|
|
|
40 |
output_text = gr.Textbox(lines=6, label="The story start with :")
|
41 |
buton.click(beam_gradio_pipeline, inputs=[input_text], outputs=output_text)
|
42 |
|
43 |
+
web.launch()
|