Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -192,5 +192,12 @@ with gr.Blocks() as demo:
|
|
192 |
outputs="text",
|
193 |
description="get_coin, id๋ก ์์ฌ ์ฝ์ธ(ํ๋๋ ฅ) ๋ฐํ. \n /run/predict_6",
|
194 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
|
196 |
demo.queue(max_size=32).launch(enable_queue=True)
|
|
|
192 |
outputs="text",
|
193 |
description="get_coin, id๋ก ์์ฌ ์ฝ์ธ(ํ๋๋ ฅ) ๋ฐํ. \n /run/predict_6",
|
194 |
)
|
195 |
+
|
196 |
+
gd = gr.Interface(
|
197 |
+
fn=get_data,
|
198 |
+
inputs=[],
|
199 |
+
outputs="text",
|
200 |
+
description="get_data, ์๊ฐํ์ฉ ๋ชจ๋ ๋ฐ์ดํฐ ๋ฐํ. gpu๊ธฐ์ฌ ๋ชฉ๋ก, total/used, chain \n /run/predict_6",
|
201 |
+
)
|
202 |
|
203 |
demo.queue(max_size=32).launch(enable_queue=True)
|