Update app.py
Browse files
app.py
CHANGED
|
@@ -20,14 +20,14 @@ def create_gradio_app():
|
|
| 20 |
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
gr.Markdown('''
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
''')
|
| 32 |
|
| 33 |
input_text = gr.Textbox(label="Model Input", value='vegetable dog') # two words?
|
|
@@ -36,14 +36,16 @@ def create_gradio_app():
|
|
| 36 |
input_text.submit(fn=lambda x: predict(x, model), inputs=input_text, outputs=output)
|
| 37 |
|
| 38 |
gr.Markdown('''
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
''')
|
| 48 |
|
| 49 |
demo.queue(max_size=1_000)
|
|
|
|
| 20 |
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
gr.Markdown('''
|
| 23 |
+
Today I went on a hike and found a pile of tensors hidden underneath a neolithic burial mound!
|
| 24 |
+
|
| 25 |
+
I sent it over to the local neural plumber, and they managed to cobble together this.
|
| 26 |
+
|
| 27 |
+
**[model.pt](https://huggingface.co/jane-street/2025-03-10/tree/main)**
|
| 28 |
+
|
| 29 |
+
Anyway, I'm not sure what it does yet, but it must have been important to this past civilization.
|
| 30 |
+
Maybe start by looking at the last two layers.
|
| 31 |
''')
|
| 32 |
|
| 33 |
input_text = gr.Textbox(label="Model Input", value='vegetable dog') # two words?
|
|
|
|
| 36 |
input_text.submit(fn=lambda x: predict(x, model), inputs=input_text, outputs=output)
|
| 37 |
|
| 38 |
gr.Markdown('''
|
| 39 |
+
If you do figure it out, please let us know at *archaeology@janestreet.com*.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
Solved by
|
| 44 |
+
- Noa and Collin
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
*Learn more at [janestreet.com](https://jane-st.co/3YfP5WK)*.
|
| 49 |
''')
|
| 50 |
|
| 51 |
demo.queue(max_size=1_000)
|