Spaces:
Runtime error
Runtime error
Commit
•
bd2c39e
1
Parent(s):
00dee45
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,6 @@ Options:
|
|
19 |
|
20 |
wip_description = """Gradio Demo for JAX / Flax BLOOM. The 176B BLOOM model running on a TPU v3-256 pod, with 2D model parallelism and custom mesh axes.
|
21 |
|
22 |
-
DOWN FOR MAINTENANCE.
|
23 |
|
24 |
Note: rendering of the screenshot is currently not optimised. To experience the true speed of JAX / Flax, tick 'just output raw text'.
|
25 |
|
@@ -61,7 +60,7 @@ examples = [
|
|
61 |
|
62 |
def query(payload):
|
63 |
print(payload)
|
64 |
-
response = requests.
|
65 |
print(response)
|
66 |
return response.json()
|
67 |
|
|
|
19 |
|
20 |
wip_description = """Gradio Demo for JAX / Flax BLOOM. The 176B BLOOM model running on a TPU v3-256 pod, with 2D model parallelism and custom mesh axes.
|
21 |
|
|
|
22 |
|
23 |
Note: rendering of the screenshot is currently not optimised. To experience the true speed of JAX / Flax, tick 'just output raw text'.
|
24 |
|
|
|
60 |
|
61 |
def query(payload):
|
62 |
print(payload)
|
63 |
+
response = requests.post(API_URL, json=payload)
|
64 |
print(response)
|
65 |
return response.json()
|
66 |
|