Urdatorn commited on
Commit
e051462
·
1 Parent(s): 38573a7
Files changed (2) hide show
  1. app.py +1 -1
  2. tests/test_markup.py +1 -1
app.py CHANGED
@@ -739,7 +739,7 @@ with gr.Blocks(title="Ancient Greek Macronizer") as demo:
739
  ```python
740
  from gradio_client import Client
741
 
742
- client = Client("al1808th/macronizer")
743
  result = client.predict(
744
  text="μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος",
745
  model="roberta",
 
739
  ```python
740
  from gradio_client import Client
741
 
742
+ client = Client("Urdatorn/macronizer")
743
  result = client.predict(
744
  text="μῆνιν ἄειδε θεὰ Πηληϊάδεω Ἀχιλῆος",
745
  model="roberta",
tests/test_markup.py CHANGED
@@ -257,7 +257,7 @@ def test_python_api_instructions_omit_api_name():
257
  ]
258
  api_markdown = next(value for value in markdown_values if "Python API" in value)
259
 
260
- assert 'Client("al1808th/macronizer")' in api_markdown
261
  assert 'model="roberta"' in api_markdown
262
  assert 'api_name="/macronize"' in api_markdown
263
 
 
257
  ]
258
  api_markdown = next(value for value in markdown_values if "Python API" in value)
259
 
260
+ assert 'Client("Urdatorn/macronizer")' in api_markdown
261
  assert 'model="roberta"' in api_markdown
262
  assert 'api_name="/macronize"' in api_markdown
263