Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,10 @@ function custom(){
|
|
191 |
}
|
192 |
"""
|
193 |
|
194 |
-
|
|
|
|
|
|
|
195 |
result = []
|
196 |
with gr.Column(elem_id="col-container"):
|
197 |
gr.Markdown(f"""
|
@@ -244,4 +247,4 @@ with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
|
|
244 |
|
245 |
run_button.click(fn=_rets,inputs=[prompt,prompt2],outputs=result)
|
246 |
|
247 |
-
demo.queue().launch(server_port=
|
|
|
191 |
}
|
192 |
"""
|
193 |
|
194 |
+
def porting(x):
|
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"""
|
|
|
247 |
|
248 |
run_button.click(fn=_rets,inputs=[prompt,prompt2],outputs=result)
|
249 |
|
250 |
+
demo.queue().launch(server_port=7680)
|