Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -191,10 +191,7 @@ function custom(){
|
|
191 |
}
|
192 |
"""
|
193 |
|
194 |
-
|
195 |
-
return x + 1
|
196 |
-
|
197 |
-
with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js,fn=porting,port=8888) as demo:
|
198 |
result = []
|
199 |
with gr.Column(elem_id="col-container"):
|
200 |
gr.Markdown(f"""
|
@@ -246,5 +243,4 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js,fn=porting,port=8888) as dem
|
|
246 |
#return list( _ret(p1_en,p2_en) )
|
247 |
|
248 |
run_button.click(fn=_rets,inputs=[prompt,prompt2],outputs=result)
|
249 |
-
|
250 |
demo.queue().launch(server_port=7680)
|
|
|
191 |
}
|
192 |
"""
|
193 |
|
194 |
+
with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js,port=8000) as demo:
|
|
|
|
|
|
|
195 |
result = []
|
196 |
with gr.Column(elem_id="col-container"):
|
197 |
gr.Markdown(f"""
|
|
|
243 |
#return list( _ret(p1_en,p2_en) )
|
244 |
|
245 |
run_button.click(fn=_rets,inputs=[prompt,prompt2],outputs=result)
|
|
|
246 |
demo.queue().launch(server_port=7680)
|