Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -359,18 +359,3 @@ if __name__ == "__main__":
|
|
| 359 |
demo.launch()
|
| 360 |
|
| 361 |
import os
|
| 362 |
-
|
| 363 |
-
def test_langsmith():
|
| 364 |
-
print("=== Running LangSmith smoke test ===")
|
| 365 |
-
os.system("python langsmith_smoketest.py")
|
| 366 |
-
print("=== Done ===")
|
| 367 |
-
|
| 368 |
-
with gr.Blocks() as demo:
|
| 369 |
-
...
|
| 370 |
-
gr.Button("Run LangSmith Test").click(
|
| 371 |
-
test_langsmith,
|
| 372 |
-
inputs=None,
|
| 373 |
-
outputs=None
|
| 374 |
-
)
|
| 375 |
-
|
| 376 |
-
demo.launch()
|
|
|
|
| 359 |
demo.launch()
|
| 360 |
|
| 361 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|